import type { ReactNode } from 'react'; import { Checkbox, Label } 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}
); export const States = () => (
); export const WithLabels = () => (
{[ ['backups', 'Nightly off-site backups', true], ['ssl', 'Managed SSL certificate', true], ['cdn', 'Global CDN', false], ].map(([id, label, on]) => ( ))}
);