@stratakit/bricks
Version:
Small, modular components for StrataKit
18 lines (17 loc) • 505 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { Role } from "@ariakit/react/role";
import { forwardRef } from "@stratakit/foundations/secret-internals";
import cx from "classnames";
import { useInit } from "./~utils.useInit.js";
const Label = forwardRef((props, forwardedRef) => {
useInit();
return /* @__PURE__ */ jsx(Role.label, {
...props,
className: cx("\u{1F95D}Label", props.className),
ref: forwardedRef
});
});
var Label_default = Label;
export {
Label_default as default
};