UNPKG

@crossed/demo

Version:

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

17 lines (16 loc) 681 B
import { jsx, jsxs } from "react/jsx-runtime"; import { Heading, YBox } from "@crossed/ui"; const HeadingDemo = () => { return /* @__PURE__ */ jsxs(YBox, { space: "md", children: [ /* @__PURE__ */ jsx(Heading, { order: 1, children: "Heading 1" }), /* @__PURE__ */ jsx(Heading, { order: 2, children: "Heading 2" }), /* @__PURE__ */ jsx(Heading, { order: 3, children: "Heading 3" }), /* @__PURE__ */ jsx(Heading, { order: 4, children: "Heading 4" }), /* @__PURE__ */ jsx(Heading, { order: 5, children: "Heading 5" }), /* @__PURE__ */ jsx(Heading, { order: 6, children: "Heading 6" }) ] }); }; export { HeadingDemo }; //# sourceMappingURL=heading.js.map