Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Created April 18, 2021 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidgilbertson/ee8b76734dc983853d783a9f5b4b1470 to your computer and use it in GitHub Desktop.
Save davidgilbertson/ee8b76734dc983853d783a9f5b4b1470 to your computer and use it in GitHub Desktop.
<Select
selectedItemId={selectedItemId}
onSelect={setSelectedItemId}
options={[
{value: Size.Small, children: 'Small'},
{value: Size.Medium, children: 'Medium'},
{value: Size.Large, children: 'Large', disabled: true},
]}
required
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment