Expo UI and Router for iOS
Modifiers

onSubmit

Adds an action to perform when the user submits a value to this view (e.g. pressing return in a text field).

onSubmit(handler)

ParameterTypeDescription
handler() => voidFunction to call on submit.

Adds an action to perform when the user submits a value to this view (e.g. pressing return in a text field).

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Sources

The original Expo docs for this page:

On this page