@stratakit/react
Version:
A React component library for StrataKit
19 lines (18 loc) • 583 B
JavaScript
import { jsx } from "react/jsx-runtime";
import * as React from "react";
import { Field as SkField } from "@stratakit/bricks";
import { useCompatProps } from "./~utils.js";
const Label = React.forwardRef((props, forwardedRef) => {
const {
// biome-ignore-start lint/correctness/noUnusedVariables: NOT IMPLEMENTED
displayStyle,
disabled,
required,
// biome-ignore-end lint/correctness/noUnusedVariables: NOT IMPLEMENTED
...rest
} = useCompatProps(props);
return /* @__PURE__ */ jsx(SkField.Label, { ...rest, ref: forwardedRef });
});
export {
Label
};