You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ethanashaw, string is supported so that custom button variations (classes) can be created within projects and used with this component. Possibly we could adjust the type so that it suggests the values in your IDE.
Hi @ethanashaw, string is supported so that custom button variations (classes) can be created within projects and used with this component. Possibly we could adjust the type so that it suggests the values in your IDE.
That would be great. I think this should work, at least in Visual Studio Code:
The
Button
component allows any string for its appearance:react-components/src/components/Button/Button.tsx
Line 30 in 60dd444
Could it be restricted to
ValueOf<typeof ButtonAppearance>
?The text was updated successfully, but these errors were encountered: