UNPKG

koval-ui

Version:

React components collection with minimalistic design. Supports theming, layout, and input validation.

27 lines (26 loc) 665 B
"use client"; import { jsx as r } from "react/jsx-runtime"; import { useCallback as a } from "react"; import i from "classnames"; import l from "./Dialog.module.css.js"; import { FormField as s } from "../../FormField/FormField.js"; import { InputText as c } from "../../InputText/InputText.js"; const x = ({ value: t, onChange: e }) => { const o = a( (m) => { e(m.target.value); }, [e] ); return /* @__PURE__ */ r(s, { className: i(l.field, l.valueField), label: "Filter value:", children: /* @__PURE__ */ r( c, { value: t, onChange: o } ) }); }; export { x as TextField }; //# sourceMappingURL=TextField.js.map