Action Bar
Renders a horizontal bar displaying the number of selected elements and an
array of IAction
s as
ActionIcons
- Import
import { ActionBar } from '@smile/haring-react';
- Extends ActionList
- Source View Source Code
- Package @smile/haring-react
- Storybook Storybook
Storybook Docs
Props
ActionBar takes a <Data>
generic type that extends Record<string, unknown>
, to be used by ActionList.
Name | Type | Default | Description |
---|---|---|---|
selectedElementsLabel * | (selectedElements: number) => string | (selectedElements: number) => `${selectedElements} file(s) selected | Function 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 |