Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 1.55 KB

File metadata and controls

24 lines (18 loc) · 1.55 KB

ActionBar

The wrapper abstraction over Space component for sharing / recording action bar.

Props

Name Type Default Description
children ReactNode - The content of the component.
actionButtonCallback? ()=> void _ Action button callback
actionButtonLabels ActionButtonLabels _ Labels for Action Button
closeCallback? ()=>void _ Callback for close button for right container
onMount? ()=>void _ Callback invoked while actionbar is mounted
unified? boolean _ Unified action bar for all breakpoints
compact? boolean _ Aligning width to content
...Space component props? ComponentProps - Props that will be passed to the root of the div element.

Examples

React

return <ActionBar actionButtonCallback={()=>{}} actionButtonLabels={{label: 'Click me'}}>...status elements </>;