UNPKG

react-together-primereact

Version:

A set of ready-to-use PrimeReact components that are synchronized across multiple users in real-time!

14 lines (13 loc) 330 B
import { jsx as u } from "react/jsx-runtime"; import { Dropdown as a } from "primereact/dropdown"; import { useStateTogether as l } from "react-together"; function s({ rtKey: o, ...e }) { const [r, t] = l(o, null); return /* @__PURE__ */ u(a, { ...e, value: r, onChange: (n) => t(n.value) }); } export { s as default };