Function Header

General purpose header component. It has the main section, before and after sections. The main section is left-aligned by default, but it can be centered with center prop. before and after sections are usually used for actions.

Properties

$$typeof: symbol
defaultProps?: Partial<Omit<HeaderProps, "ref"> & RefAttributes<HTMLDivElement>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<
    Omit<HeaderProps, "ref"> & RefAttributes<HTMLDivElement>,
>