stone-kit
Version:
uikit for redesign
21 lines (20 loc) • 586 B
JavaScript
import { jsx as i } from "react/jsx-runtime";
import { forwardRef as f } from "react";
import { c as m } from "../../index-rKuIKazb.js";
const _ = "_root_v6f19_12", t = {
"auto-width": "_auto-width_v6f19_1",
"full-width": "_full-width_v6f19_6",
root: _
}, c = m.bind(t), d = f(
({
width: o = "auto",
error: l,
additionalClass: r = "",
children: e = "",
...a
}, s) => /* @__PURE__ */ i("textarea", { className: c(t.root, t[`${o}-width`], r), ref: s, style: { resize: "none" }, ...a, children: e })
);
d.displayName = "TextArea";
export {
d as TextArea
};