Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Created April 18, 2021 01:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save davidgilbertson/b415194e8852c93030796032bb62c279 to your computer and use it in GitHub Desktop.
<Select
onSelect={id => {
// Do something with id
}}
options={[
{id: Size.Small, name: 'Small'},
{id: Size.Medium, name: 'Medium'},
{id: Size.Large, name: 'Large'},
]}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment