UNPKG

stone-kit

Version:
26 lines (25 loc) 521 B
import { jsx as i } from "react/jsx-runtime"; import { c as _ } from "../../index-YnD2EP-S.js"; const c = "_root_v6f19_12", t = { "auto-width": "_auto-width_v6f19_1", "full-width": "_full-width_v6f19_6", root: c }, n = _.bind(t), d = ({ width: o = "auto", additionalClass: r = "", children: s = "", ref: e, ...a }) => /* @__PURE__ */ i( "textarea", { className: n(t.root, t[`${o}-width`], r), ref: e, style: { resize: "none" }, ...a, children: s } ); export { d as TextArea };