react-together-ant-design
Version:
A set of ready-to-use Ant Design components that are synchronized across multiple users in real-time!
14 lines (13 loc) • 307 B
JavaScript
import { jsx as n } from "react/jsx-runtime";
import { Select as u } from "antd";
import { useStateTogether as a } from "react-together";
function c({
rtKey: e,
...t
}) {
const [o, r] = a(e, null);
return /* @__PURE__ */ n(u, { ...t, value: o, onChange: (l) => r(l) });
}
export {
c as default
};