title
Description
Optional. Sets the text of a modal box's headerUsage
title?: string;
Example
<Portal>
<Modal title="Custom Prompt" onConfirm={hideAll} onCancel={hideAll}>
<Text select={true} focus={true} value="Some" />
</Modal>
</Portal>
Related article: Adding the header title
Related sample: Messages