Skip to content

Instantly share code, notes, and snippets.

@maxidev
Created July 23, 2024 12:58
Show Gist options
  • Select an option

  • Save maxidev/a36d8d706cc2d205ce6fe1d74ce666d0 to your computer and use it in GitHub Desktop.

Select an option

Save maxidev/a36d8d706cc2d205ce6fe1d74ce666d0 to your computer and use it in GitHub Desktop.
- Component must be mounted into a Storybook page deployed to access via browser.
- Component should be a controlled input, the API must be compliant to allow developers to send options and retrieve values from.
- Disabled and Error states are open for you to manage them as desired, please provide context about decisions made and chosen approach.
- Single / Multi selection mode must be handled by implementation.
- Feel free to use plain css, styled components, tailwind, or any other desired approach to manage styles.
- Pixel perfect design and clean/readable code are a must.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment