Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Ability to disable alpha #95

Closed
PedroDNBR opened this issue Jul 24, 2022 · 1 comment
Closed

Feature request: Ability to disable alpha #95

PedroDNBR opened this issue Jul 24, 2022 · 1 comment

Comments

@PedroDNBR
Copy link

PedroDNBR commented Jul 24, 2022

It would be very nice to be able to pass a prop to the color picker to remove the alpha slider when I want to restrict the possible value selected to RGB, not RGBA. If the ability already exists, I have not managed to find it in the documentation.

I'm thinking it would work something like:

<Colorful disableAlpha='true' />

image

@jaywcjlove
Copy link
Member

@PedroDNBR Upgrade v1.1.0+

<Colorful disableAlpha={true} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants