UNPKG

@crossed/ui

Version:

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

13 lines (12 loc) 441 B
import { jsx } from "react/jsx-runtime"; import { composeStyles, withReactive } from "@crossed/styled"; import { Text } from "../../typography/Text"; import { form } from "../../styles/form"; const Label = withReactive((props) => { const { htmlFor: _u, disabled, style, ...other } = props; return /* @__PURE__ */ jsx(Text, { ...other, style: composeStyles(form.label, style) }); }); export { Label }; //# sourceMappingURL=Label.js.map