View as Markdown

API reference: @salmonui/layout/card

CardRenderPropstype

import type { CardRenderProps } from '@salmonui/layout/card';
type CardRenderProps = HTMLAttributes<HTMLElement> & {
    readonly 'data-orientation': 'vertical' | 'horizontal';
};

Props Card computes for its root (spread them in render).

CardRenderProps members (1, 1 inherited)
NameSignatureDescription
data-orientationinheriteddata-orientation: "horizontal" | "vertical";