UNPKG

@itgold/grandbazar-ui-kit

Version:

Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.

28 lines (27 loc) 1.37 kB
/// <reference types="react" /> import { CardAttributeContent } from '@/components/card/components/card-content/CardAttributeContent'; import { CardContent } from '@/components/card/components/card-content/CardContent'; import { CardDescription } from '@/components/card/components/card-description/CardDescription'; import { CardFooter } from '@/components/card/components/card-footer/CardFooter'; import { CardFooterWithLike } from '@/components/card/components/card-footer/CardFooterWithLike'; import { CardFooterWithRange } from '@/components/card/components/card-footer/CardFooterWithRange'; import { CardLike } from '@/components/card/components/card-like/CardLike'; import { CardTitle } from '@/components/card/components/card-title/CardTitle'; type TCardProps = { children: React.ReactNode; theme: 'light' | 'dark'; className?: string; isLink?: boolean; }; declare function Card({ children, theme, className, isLink }: TCardProps): React.ReactElement; declare namespace Card { var Content: typeof CardContent; var AttributeContent: typeof CardAttributeContent; var Footer: typeof CardFooter; var FooterWithLike: typeof CardFooterWithLike; var FooterWithRange: typeof CardFooterWithRange; var Title: typeof CardTitle; var Description: typeof CardDescription; var Like: typeof CardLike; } export { Card, TCardProps };