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
We have a component with a size prop of numeric literal type. size?: 14 | 20 | 24 | 32 | 48;
It would be nice to have native support for a knob that can take in a list of values. We already have a documentation tool that tells us the possible values for literal types. We want the same behavior as Enum PropType but currently Enum only works with string literal type.
The text was updated successfully, but these errors were encountered:
We have a component with a size prop of numeric literal type.
size?: 14 | 20 | 24 | 32 | 48;
It would be nice to have native support for a knob that can take in a list of values. We already have a documentation tool that tells us the possible values for literal types. We want the same behavior as Enum PropType but currently Enum only works with string literal type.
The text was updated successfully, but these errors were encountered: