ModalHeader

Type: React component

Serves as the header of the modal, rendering a Heading and an optional Icon. Additionally a connotation prop can be set to specify the severity of the modal. The content of this header should describe the purpose of the modal in a summarized manner.

Should be used as a direct child of a Modal component.

Props

  1. connotation

    (Optional)

    Type: String

    Specifies the meaning and/or severity of the given context. The possible values are:

    • 'warning'

    Default value

  2. icon

    (Optional)

    Type: FDS~Icon

    Default value

  3. title

    (Optional)

    Type: FDS~Title

    Default value