@crossed/demo
Version:
A universal & performant styling library for React Native, Next.js & React
15 lines (14 loc) • 595 B
JavaScript
import { jsx, jsxs } from "react/jsx-runtime";
import { tw } from "@crossed/styled";
import { Box, Label } from "@crossed/ui";
import { TextInput } from "react-native";
const LabelDemo = () => {
return /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsxs(Label, { className: "gap-2", children: [
/* @__PURE__ */ jsx(Label.Text, { "aria-label": "Label", children: "Label" }),
/* @__PURE__ */ jsx(Label.Input, { children: /* @__PURE__ */ jsx(TextInput, { style: tw.style("border border-neutral-700 p-2") }) })
] }) });
};
export {
LabelDemo
};
//# sourceMappingURL=Label.js.map