UNPKG

mistui-kit

Version:

**πŸ‘‰ [Try MistUi Live](https://gilded-tanuki-0eb52b.netlify.app/) β€” interactive playground & docs**

21 lines (20 loc) β€’ 964 B
import { Variants } from '../theme/default'; type Props = Pick<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'>; export type CardProps = Props & { shadow?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; color?: Variants | (string & {}); size?: 'auto' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'; /** ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ° сбоку */ imageIsSide?: boolean; /** ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅ станСт Ρ„ΠΎΠ½ΠΎΠΌ ΠΊΠ°Ρ€Ρ‚ΠΎΡ‡ΠΊΠΈ */ imageIsFull?: boolean; /** ссылка Π½Π° ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΡƒ */ imageSrc?: string; title?: string | React.ReactNode; description?: string | React.ReactNode; actions?: React.ReactNode; classNameBody?: React.HTMLAttributes<HTMLDivElement>['className']; /** Π΄ΠΎΠΏ содСрТимоС, Π»ΠΈΠ±ΠΎ Ссли Π½Π΅ ΠΏΠ΅Ρ€Π΅Π΄Π°Π²Π°Ρ‚ΡŒ `title`, `description`, `actions` Ρ‚ΠΎ станСт основным содСрТимым ΠΊΠ°Ρ€Ρ‚ΠΎΡ‡ΠΊΠΈ */ children?: React.ReactNode; }; export {};