EDS4 logo
@eds/react/bulk-action-bar
v0.0.0

BulkActionBar

Enables the user to perform an action on multiple items at the same time.
Prop
Required
Description
Type
selectedCount
✅

The number of selected items.

number
onCancel
✅

The onCancel handler for when the close button is clicked.

() => void
totalCount
—

Optionally provide the total number of items. Renders the count as "1 / 3 selected" if provided.

number
children
—

React children containing Button and ActionsDropdown components.

string | number | false | true | ReactElement<any, string | JSXElementConstructor<any>> | ReactPortal | { key?: string | number; ref?: null; props?: { children?: boolean | ReactChild | ReactPortal | StrictReactFragment; }; } | (boolean | ReactChild | ReactPortal | StrictReactFragment)[]