UNPKG

@multisynq/react-together-primereact

Version:

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

21 lines (20 loc) 379 B
import { jsx as l } from "react/jsx-runtime"; import { useStateTogether as a } from "@multisynq/react-together"; import { MultiSelect as i } from "primereact/multiselect"; function s({ rtKey: e, ...t }) { const [o, r] = a(e, []); return /* @__PURE__ */ l( i, { ...t, value: o, onChange: (u) => r(u.value) } ); } export { s as default };