property SearchBarProps.onSubmit Called with the trimmed query, never an empty one. Type (q: string) => void