2026-07-20 16:05:17 +00:00
// Module ID: 1808
2026-07-24 07:16:23 +00:00
// Function ID: 19936
2026-07-20 16:05:17 +00:00
// Name: Next
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 33, 1801, 1802, 1807, 1774, 1800]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 1808 (Next)
2026-07-23 10:11:24 +00:00
import "result" ;
import { jsx } from "jsxProd" ;
2026-07-22 07:54:56 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1 ;
require ( "result" ) . useCallback ;
2026-07-20 16:05:17 +00:00
export default function Next ( icon ) {
let button ;
let children ;
let disabled ;
let isNextDisabled ;
let onPress ;
let rippleRadius ;
let style ;
let theme ;
( { children , onPress } = icon ) ;
( { disabled , button } = icon ) ;
( { rippleRadius , style } = icon ) ;
if ( undefined === button ) {
2026-07-23 10:11:24 +00:00
button = importDefault ( 1801 ) ;
2026-07-20 16:05:17 +00:00
}
icon = icon . icon ;
if ( undefined === icon ) {
2026-07-23 10:11:24 +00:00
icon = importDefault ( 1802 ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let obj = onPress ( 1807 ) ;
2026-07-20 16:05:17 +00:00
const toolbarContext = obj . useToolbarContext ( ) ;
( { theme , isNextDisabled } = toolbarContext ) ;
if ( null != disabled ) {
isNextDisabled = disabled ;
}
const items = [ onPress ] ;
obj = {
2026-07-23 10:11:24 +00:00
accessibilityHint : "Moves focus to the next field" ,
accessibilityLabel : "Next" ,
2026-07-20 16:05:17 +00:00
disabled : isNextDisabled ,
rippleRadius ,
style ,
2026-07-23 10:11:24 +00:00
testID : onPress ( 1800 ) . TEST _ID _KEYBOARD _TOOLBAR _NEXT ,
2026-07-20 16:05:17 +00:00
theme ,
onPress : useCallback ( ( isDefaultPrevented ) => {
if ( null != onPress ) {
onPress ( isDefaultPrevented ) ;
}
if ( ! isDefaultPrevented . isDefaultPrevented ( ) ) {
2026-07-23 10:11:24 +00:00
const KeyboardController = onPress ( outer1 _2 [ 5 ] ) . KeyboardController ;
2026-07-20 16:05:17 +00:00
KeyboardController . setFocusTo ( "next" ) ;
}
} , items )
} ;
if ( null == children ) {
obj = { disabled : isNextDisabled , theme , type : "next" } ;
2026-07-23 10:11:24 +00:00
children = < icon disabled = { isNextDisabled } theme = { theme } type = "next" / > ;
2026-07-20 16:05:17 +00:00
}
obj . children = children ;
2026-07-23 10:11:24 +00:00
return < button accessibilityHint = "Moves focus to the next field" accessibilityLabel = "Next" disabled = { isNextDisabled } rippleRadius = { rippleRadius } style = { style } testID = { onPress ( 1800 ) . TEST _ID _KEYBOARD _TOOLBAR _NEXT } theme = { theme } onPress = { useCallback ( ( isDefaultPrevented ) => {
if ( null != onPress ) {
onPress ( isDefaultPrevented ) ;
}
if ( ! isDefaultPrevented . isDefaultPrevented ( ) ) {
const KeyboardController = onPress ( outer1 _2 [ 5 ] ) . KeyboardController ;
KeyboardController . setFocusTo ( "next" ) ;
}
} , items ) } / > ;
2026-07-20 16:05:17 +00:00
} ;