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
In <Select> and <MultiSelect> we use the hooks from Downshift with Input, Label, Button and List to create the components.
For EDS users with more advanced or specific use cases for select it will probably be easier to make all these components available and let the user combine them with hooks in their project.
Input and Label is internal components, and are not exported as a part of EDS today. It's also quite a lot of styles for especially the options list using List and ListItem components. We should probably align this with the Paper component if possible or export the styled version as an OptionsList or something like that.
We also need this to be documented somehow for developers. Perhaps add a "hooks" headline in the storybook? 🤔
The text was updated successfully, but these errors were encountered:
In
<Select>
and<MultiSelect>
we use the hooks from Downshift with Input, Label, Button and List to create the components.For EDS users with more advanced or specific use cases for select it will probably be easier to make all these components available and let the user combine them with hooks in their project.
Input and Label is internal components, and are not exported as a part of EDS today. It's also quite a lot of styles for especially the options list using List and ListItem components. We should probably align this with the
Paper
component if possible or export the styled version as anOptionsList
or something like that.We also need this to be documented somehow for developers. Perhaps add a "hooks" headline in the storybook? 🤔
The text was updated successfully, but these errors were encountered: