UNPKG

@yamada-ui/react

Version:

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

24 lines (20 loc) 841 B
"use client"; const require_create_component = require('../../core/components/create-component.cjs'); const require_center_style = require('./center.style.cjs'); //#region src/components/center/center.tsx const { PropsContext: CenterPropsContext, usePropsContext: useCenterPropsContext, withContext } = require_create_component.createComponent("center", require_center_style.centerStyle); /** * `Center` is a component that aligns the child elements in the center within the component. * * @see https://yamada-ui.com/docs/components/center */ const Center = withContext("div", { base: { display: "flex", placeContent: "center", placeItems: "center" } })(); //#endregion exports.Center = Center; exports.CenterPropsContext = CenterPropsContext; exports.useCenterPropsContext = useCenterPropsContext; //# sourceMappingURL=center.cjs.map