import type { ReactNode } from 'react'; import { Badge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from 'cloudrite'; // Cloudrite is dark-only — foreground-coloured text and `border-border` are // invisible on the preview harness's white card body. Stories render on the // brand surface, which is also how a real screen is built. const Surface = ({ children }: { children: ReactNode }) => (
{children}
); const invoices = [ ['CR-1042', 'Managed WordPress', 'Paid', '$149.00'], ['CR-1041', 'Cloud Hosting — Business', 'Paid', '$89.00'], ['CR-1040', 'On-site callout (2 hrs)', 'Overdue', '$240.00'], ['CR-1039', 'Domain renewal', 'Paid', '$38.00'], ]; export const Default = () => ( Recent invoices Invoice Service Status Amount {invoices.map(([id, service, status, amount]) => ( {id} {service} {status} {amount} ))} Total $516.00
);