ModalHeader API
API reference docs for theModalHeader
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
closeButtonProps? | object | To render and customise Modal close button contains label and onClick | _ |
closeButtonProps.label | string | Aria label content for the close Icon button | _ |
closeButtonProps.onClick | function | Callback function to be invoked when the close button is clicked. | _ |
Note:
closeButtonProps
is deprecated as of version1.25.3
. It is recommended to use the same prop directly on the<Modal />
component instead.