UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

25 lines (24 loc) 1.39 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { CardStyle } from "./card.style.js"; import "../../index.js"; import * as react36 from "react"; //#region src/components/card/card.d.ts interface CardRootProps extends HTMLStyledProps<"article">, ThemeProps<CardStyle> {} declare const CardPropsContext: react36.Context<Partial<CardRootProps> | undefined>, useCardPropsContext: () => Partial<CardRootProps> | undefined; /** * `Card` is a component that groups and displays related information. By default, it renders a `article` element. * * @see https://yamada-ui.com/docs/components/card */ declare const CardRoot: Component<"article", CardRootProps>; interface CardHeaderProps extends HTMLStyledProps<"header"> {} declare const CardHeader: Component<"header", HTMLStyledProps<"header">>; interface CardBodyProps extends HTMLStyledProps {} declare const CardBody: Component<"div", HTMLStyledProps<"div">>; interface CardFooterProps extends HTMLStyledProps<"footer"> {} declare const CardFooter: Component<"footer", HTMLStyledProps<"footer">>; //#endregion export { CardBody, CardBodyProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardPropsContext, CardRoot, CardRootProps, useCardPropsContext }; //# sourceMappingURL=card.d.ts.map