• Primary header for stations. Accepts a title, subtitle, actions, and actions groups.

    Parameters

    Returns null | ReactElement<any, any>

    Example

    <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', actionType: PageHeaderActionType.Context, icon: IconName.Delete, confirmationMode: 'Advanced', onClick: onActionSelected },
    ]}
    ]} />

Generated using TypeDoc