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.17 kB
"use client"; const require_create_component = require('../../core/components/create-component.cjs'); const require_container_style = require('./container.style.cjs'); //#region src/components/container/container.tsx const { PropsContext: ContainerPropsContext, usePropsContext: useContainerPropsContext, withContext, withProvider } = require_create_component.createSlotComponent("container", require_container_style.containerStyle); /** * `Container` is a component used as a general division element. By default, it renders the `section` element. * * @see https://yamada-ui.com/docs/components/container */ const ContainerRoot = withProvider("section", "root")(); const ContainerHeader = withContext("header", "header")(); const ContainerBody = withContext("div", "body")(); const ContainerFooter = withContext("footer", "footer")(); //#endregion exports.ContainerBody = ContainerBody; exports.ContainerFooter = ContainerFooter; exports.ContainerHeader = ContainerHeader; exports.ContainerPropsContext = ContainerPropsContext; exports.ContainerRoot = ContainerRoot; exports.useContainerPropsContext = useContainerPropsContext; //# sourceMappingURL=container.cjs.map