UNPKG

@yamada-ui/react

Version:

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

26 lines (22 loc) 1.04 kB
"use client"; const require_create_component = require('../../core/components/create-component.cjs'); const require_card_style = require('./card.style.cjs'); //#region src/components/card/card.tsx const { PropsContext: CardPropsContext, usePropsContext: useCardPropsContext, withContext, withProvider } = require_create_component.createSlotComponent("card", require_card_style.cardStyle); /** * `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 */ const CardRoot = withProvider("article", "root")(); const CardHeader = withContext("header", "header")(); const CardBody = withContext("div", "body")(); const CardFooter = withContext("footer", "footer")(); //#endregion exports.CardBody = CardBody; exports.CardFooter = CardFooter; exports.CardHeader = CardHeader; exports.CardPropsContext = CardPropsContext; exports.CardRoot = CardRoot; exports.useCardPropsContext = useCardPropsContext; //# sourceMappingURL=card.cjs.map