Command Bar
A component that displays a command bar with a list of commands to perform on a bulk selection of items.
In this guide, you'll learn how to use the Command Bar component.
Usage#
1<CommandBar open={open}>2 <CommandBar.Bar>3 <CommandBar.Value>{count} selected</CommandBar.Value>4 <CommandBar.Seperator />5 <CommandBar.Command6 action={onDelete}7 label="Delete"8 shortcut="d"9 />10 <CommandBar.Seperator />11 <CommandBar.Command12 action={onEdit}13 label="Edit"14 shortcut="e"15 />16 </CommandBar.Bar>17</CommandBar>