import type { HTMLAttributes, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.cjs'; export type CardColor = 'default' | 'danger' | 'warning' | 'success' | 'info'; export interface CardProps extends HTMLAttributes { color?: CardColor; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; children: ReactNode; }