Toolbar
View Source
Toolbars are used to help separate content that have a title as well as an optional helper drawer and/or section actions.
Title
24
Resource
Resource
Resource
Resource
Copy
Edit
Title
Cancel
Add Item
Resource
Copy
Edit
Props
title
Node
Renders a heading in the left portion of the toolbar.
helpContent
string | Node
Render help content inside of a Collapse
that is triggered by an info button placed next to the title.
actions
Node | Array
Provide either a single action like a Button
or Dropdown
or an array of actions.
Each element will be cloned with the following props: { size: 'xs', borderColor: 'primary' }
.
count
number
Adds a counter next to the title of the toolbar.
countColor
string
Controls the color of the counter.
onStatusClearRequest
() => null
Used to clear a status once it has been set.
status
'error' | 'success'
Renders either a saved or error badge.