This library wraps a series of PrimeReact components to make them synchronized across multiple clients. All components maintain most of their original API, so you can use them as you would use the original components.
For more information about the wrapped components API, please refer to our documentation.
npm install react-together-primereact
import { ColorPickerTogether } from 'react-together-primereact'
export function YourComponent() {
return (
<div>
<h1>Color Picker</h1>
<ColorPickerTogether rtKey="color-picker" />
</div>
)
}
Looking for a component that is not supported yet? Submit a PR or open an issue!
Licensed under the Apache License 2.0, Copyright © 2024-present Croquet Labs.
See LICENSE for more information.