UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

9 lines (8 loc) 423 B
import { jsx as o } from "react/jsx-runtime"; import { forwardRef as t } from "react"; import { DropdownProvider as d } from "./contexts/dropdown.provider.js"; import { Wrapper as e } from "./components/Wrapper.js"; const x = t(({ onChange: p, value: m, name: r, ...f }, i) => /* @__PURE__ */ o(d, { onChange: p, value: m, name: r, children: /* @__PURE__ */ o(e, { name: r, ref: i, ...f }) })); export { x as Dropdown };