UNPKG

@crossed/demo

Version:

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

14 lines (13 loc) 455 B
import { jsx, jsxs } from "react/jsx-runtime"; import { Box, YBox } from "@crossed/ui"; const YBoxDemo = ({ space }) => { return /* @__PURE__ */ jsxs(YBox, { space, children: [ /* @__PURE__ */ jsx(Box, { className: "w-20 h-20 bg-blue-300" }), /* @__PURE__ */ jsx(Box, { className: "w-20 h-20 bg-blue-400" }), /* @__PURE__ */ jsx(Box, { className: "w-20 h-20 bg-blue-500" }) ] }); }; export { YBoxDemo }; //# sourceMappingURL=YBox.js.map