UNPKG

@yamada-ui/react

Version:

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

19 lines (15 loc) 650 B
"use client"; import { createComponent } from "../../core/components/create-component.js"; import { Flex } from "../flex/flex.js"; import { wrapStyle } from "./wrap.style.js"; //#region src/components/wrap/wrap.tsx const { PropsContext: WrapPropsContext, usePropsContext: useWrapPropsContext, withContext } = createComponent("wrap", wrapStyle); /** * `Wrap` is a component that has `wrap` set on `Flex`. It inherits convenient style shorthand from `Flex`. * * @see https://yamada-ui.com/docs/components/wrap */ const Wrap = withContext(Flex)(); //#endregion export { Wrap, WrapPropsContext, useWrapPropsContext }; //# sourceMappingURL=wrap.js.map