Expo UI and Router for iOS
Modifiers

submitLabel

Specifies the label to display in the keyboard's return key. For example, 'done'.

submitLabel(submitLabel)

iOS 15+
ParameterTypeDescription
submitLabel'search' | 'join' | 'done' | 'send' | 'continue' | 'return' | 'go' | 'next' | 'route'The label to display in the keyboard's return key.

Specifies the label to display in the keyboard's return key. For example, 'done'.

Returns: ModifierConfig

A view that uses the specified submit label.

Example

<TextField
  modifiers={[
    submitLabel('search'),
  ]}
/>

Works with

Sources

The original Expo docs for this page:

On this page