@spark-web/section-header
v0.1.1
Published
A header component for content sections that supports a label, optional tag badge, action buttons/menus, and custom controls.
Readme
@spark-web/section-header
A header component for content sections that supports a label, optional tag badge, action buttons/menus, and custom controls.
Usage
import { SectionHeader } from '@spark-web/section-header';
<SectionHeader
label="Business Details"
tag={{ children: 'Active', tone: 'positive' }}
action={{ type: 'button', label: 'Edit', onClick: () => {} }}
/>;