API reference: @salmonui/layout/card
CardPropsinterface
import type { CardProps } from '@salmonui/layout/card';interface CardProps extends HTMLAttributes<HTMLElement> {
readonly orientation?: 'vertical' | 'horizontal' | undefined;
readonly render?: ((props: CardRenderProps) => ReactElement) | undefined;
}
| Name | Signature | Description |
|---|---|---|
orientationoptional | readonly orientation?: 'vertical' | 'horizontal' | undefined; |
|
renderoptional | readonly render?: ((props: CardRenderProps) => ReactElement) | undefined; | Renders another root element ( |