title
Description
sets the text of a modal box's headerType
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