@stratakit/react
Version:
A React component library for StrataKit
25 lines (24 loc) • 609 B
JavaScript
import { jsx } from "react/jsx-runtime";
import * as React from "react";
import { Field, TextBox } from "@stratakit/bricks";
import { useCompatProps } from "./~utils.js";
const Textarea = React.forwardRef((props, forwardedRef) => {
const {
// biome-ignore lint/correctness/noUnusedVariables: NOT IMPLEMENTED.
status,
id,
...rest
} = useCompatProps(props);
return /* @__PURE__ */ jsx(
Field.Control,
{
render: /* @__PURE__ */ jsx(TextBox.Textarea, { ...rest }),
ref: forwardedRef,
id
}
);
});
DEV: Textarea.displayName = "Textarea";
export {
Textarea
};