UNPKG

@crossed/ui

Version:

A universal & performant styling library for React Native, Next.js & React

30 lines (29 loc) 578 B
import { jsx } from "react/jsx-runtime"; import { composeStyles, createStyles } from "@crossed/styled"; import { Box } from "./Box"; import { forwardRef } from "react"; const useYBox = createStyles( () => ({ root: { base: { display: "flex", flexDirection: "column" } } }) ); const YBox = forwardRef((props, ref) => { return /* @__PURE__ */ jsx( Box, { ref, alignSelf: "stretch", ...props, style: composeStyles(useYBox.root, props.style) } ); }); export { YBox }; //# sourceMappingURL=YBox.js.map