ToggleSwitch color: Type 'string' is not assignable to type 'string & FlowbiteColors'. #736
Labels
🐛 bug
Something isn't working
confirmed
This bug was confirmed
help wanted
Extra attention is needed
Describe the bug
ToggleSwitch color prop does not accept a string (Typescript)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When compiling for production, it breaks and you get the error "Type 'string' is not assignable to type 'string & FlowbiteColors'."
Screenshots
If applicable, add screenshots to help explain your problem.
System information:
Project information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: