-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
π feature request
It would be awesome if the extension scanned "oneOf" types in props, to provides IntelliSense with Enumeration-like propositions (like TypeScript ones).
π€ Expected Behavior

For these propTypes, when entering "size=" it should start displaying 'small', 'medium' and 'large' for example similar to this one :

π― Current Behavior
Currently it doesn't do anything on the value side of things.
π Possible Solution
Probably in the VSCode extension API ;)
π¦ Context
When having a component that require a certain set of values in props, it is really useful to know what can they be, instead of checking into the component manually.
π» Examples
Look in the upper sections.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels