Const<PageHeader title="title" subtitle="subtitle" actions={[
{ label: 'Undo', icon: IconName.Undo, kind: 'action', onClick: onActionSelected },
{ label: 'Cancel', icon: IconName.X, kind: 'action' onClick: onActionSelected },
{ kind: 'spacer' },
{ label: 'Actions Group', kind: 'group', actions: [
{ label: 'Action 1', icon: IconName.Delete, confirmationMode: 'Advanced', onClick: onActionSelected },
]}
]} />
Primary header for stations. Accepts a title, subtitle, actions, and actions groups.
An actions group renders a single action, which opens an action bar holding the actions of the group below the header. Only one group can be open at a time.