Skip to main content

Action Bar

Renders a horizontal bar displaying the number of selected elements and an array of IActions as ActionIcons

Storybook Docs

Props

ActionBar takes a <Data> generic type that extends Record<string, unknown>, to be used by ActionList.

NameTypeDefaultDescription
selectedElementsLabel *(selectedElements: number) => string(selectedElements: number) => `${selectedElements} file(s) selectedFunction used to generate the string that displays how many elements are currently selected, it gives the current number of elements in the selectedElements array as a parameter
...--extends ActionList props