onTextInput

Adds a focused callback for both committed characters and input-method preedit updates.

Return

a modifier with the active callback appended nearest the component.

Parameters

callback

focused typed callback deciding propagation.