Constructor
# new FullscreenHeader(props) → {React.ReactElement}
Overview
Vertically scrollable header with default close button. You are able to define your own root node as well as icon and tooltip forCloseButton
.
Usage
This component should be used with aFullscreenDialog
as a root node.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
props |
Object | |||
closeIcon |
React.ReactNode |
<optional> |
An element placed inside of the |
|
CloseButtonProps |
Object |
<optional> |
Props applied to the |
|
CloseTooltipProps |
Object |
<optional> |
Props applied to the |
|
HeaderComponent |
React.ElementType |
<optional> |
HeaderElement | The component used for the root node. |
HeaderProps |
Object |
<optional> |
Props applied to the root node. |
|
id |
string | The id of the component. |
||
onClose |
function |
<optional> |
Callback fired when the component requests to be closed. |
|
optional |
React.ReactNode |
<optional> |
An element placed before |
|
title |
React.ReactNode |
<optional> |
The content of the component. |
React.ReactElement