Closed sri-30 closed 2 years ago
I think the two new classes must manually be added to https://github.com/playcanvas/pcui/blob/main/react/dist/pcui-react.d.ts. @ellthompson to confirm.
Is it really better to copy/paste PlayCanvas engine classes instead of adding
playcanvas
as a dependency with tree-shaking?
This will most likely be changed in a future revision of this feature; the classes have been copied over for now as they are unlikely to change in the future.
Added the color picker, gradient picker and canvas components:
Color Picker:
Gradient Picker: