Skip to main content

title

Description

sets the text of a modal box's header

Type

string

Example

<Portal>
<Modal title="Custom Prompt" ok={hideAll} cancel={hideAll}>
<Text select={true} focus={true} value="Some" />
</Modal>
</Portal>

Related article: Adding the header title

Related sample: Messages