uiwjs / react-color

🎨 Is a tiny color picker widget component for React apps.
https://uiwjs.github.io/react-color
MIT License
274 stars 92 forks source link

adds flexibility to wheel styling #105

Closed CjJordan closed 1 year ago

CjJordan commented 1 year ago

In the current wheel implementation the height and width can only be set to numbers and can't be overridden by the style prop. Similarly, the position can't be overridden.

This PR moves the style prop spread operation after height, width, and position so that they can be overridden by the style prop if needed.

jaywcjlove commented 1 year ago

@CjJordan Upgrade v1.1.2