foundry-ui icon indicating copy to clipboard operation
foundry-ui copied to clipboard

Dropdown | Add grouped options functionality

Open aVileBroker opened this issue 2 years ago • 0 comments

Much like how the tables can have groups, dropdowns should also support grouped options

  • [ ] options can be a single Group: Option[], or an array of named groups NamedGroup: {name: string; group: Group;}
  • [ ] Add Group subcomponent and a GroupHeader subcomponent
  • [ ] Only show GroupHeader if they passed NamedGroups
image

aVileBroker avatar Oct 26 '23 19:10 aVileBroker