/*! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ import { Column, KeyValuePair, Stack } from 'aws-northstar'; import { RelativeDate, SummaryProperty } from '$northstar-plus'; import React from 'react'; import type { CreateAndUpdateDetails } from '@ada/api'; export interface EntitySummaryColumnProps { readonly entity?: CreateAndUpdateDetails; readonly createdLabel?: string; readonly updatedLabel?: string; } export const EntityCreatedKV: React.FC> = ({ entity = {}, createdLabel = 'Created', }) => { return ( ) : null } /> ); }; export const EntityUpdatedKV: React.FC> = ({ entity = {}, updatedLabel = 'Updated', }) => { return ( ) : null } /> ); }; export const EntitySummaryColumn: React.FC = ({ entity = {}, createdLabel, updatedLabel, }) => { return ( ); }; export const entitySummarySectionProperty = (props: EntitySummaryColumnProps): SummaryProperty => { return { value: , }; };