import { TableBody, TableCell, TableHead, TableRow, } from '@aws-amplify/ui-react'; import { ResponsiveTable } from '@/components/ResponsiveTable'; import { Properties } from '../../../scripts/types/catalog'; import { PropsTableBody } from './PropsTableBody'; export function PropsTable({ properties }: { properties: Properties }) { return ( Name Type Description {Object.entries(properties) .sort(([a], [b]) => a.localeCompare(b)) .map(PropsTableBody)} ); }