2026-08-06 08:05:19 +00:00
// Module ID: 1858
// Function ID: 1859
2026-07-29 08:29:29 +00:00
// Name: onPress
2026-08-06 08:05:19 +00:00
// Dependencies: [19, 17, 21, 1853, 1828, 1859, 1826, 1852]
2026-07-29 08:29:29 +00:00
// Exports: default
2026-08-06 08:05:19 +00:00
// Module 1858 (onPress)
2026-07-29 08:29:29 +00:00
import "noop" ;
import noop from "noop" ;
import get _ActivityIndicator from "get ActivityIndicator" ;
import { jsx } from "jsxProd" ;
let StyleSheet ;
let c3 ;
let c4 ;
let c5 ;
const require = arg1 ;
( { useCallback : c3 , useMemo : c4 } = noop ) ;
( { StyleSheet , Text : c5 } = get _ActivityIndicator ) ;
const styles = StyleSheet . create ( { doneButton : { fontWeight : "600" , fontSize : 15 } , doneButtonContainer : { marginRight : 16 , marginLeft : 8 } } ) ;
export default function _default ( rippleRadius ) {
let button ;
let children ;
let onPress ;
let text ;
( { children , onPress } = rippleRadius ) ;
let num = rippleRadius . rippleRadius ;
if ( num === undefined ) {
num = 28 ;
}
( { button , text } = rippleRadius ) ;
if ( button === undefined ) {
button = keyboardState ( theme [ 3 ] ) ;
}
keyboardState = undefined ;
theme = undefined ;
let obj = onPress ( theme [ 4 ] ) ;
keyboardState = obj . useKeyboardState ( ( appearance ) => appearance . appearance ) ;
theme = onPress ( theme [ 5 ] ) . useToolbarContext ( ) . theme ;
let items = [ keyboardState , theme ] ;
const items1 = [ onPress ] ;
const obj2 = onPress ( theme [ 5 ] ) ;
obj = { accessibilityHint : "Closes the keyboard" , accessibilityLabel : "Done" , rippleRadius : num , style : doneButtonContainer . doneButtonContainer , testID : null , theme : null , onPress : null , children : null } ;
const tmp4 = callback2 ( ( ) => {
const items = [ outer1 _7 . doneButton , { color : theme [ keyboardState ] . primary } ] ;
return items ;
} , items ) ;
obj [ 4 ] = onPress ( theme [ 7 ] ) . TEST _ID _KEYBOARD _TOOLBAR _DONE ;
obj [ 5 ] = theme ;
obj [ 6 ] = callback ( ( isDefaultPrevented ) => {
if ( onPress != null ) {
tmp ( isDefaultPrevented ) ;
}
if ( ! isDefaultPrevented . isDefaultPrevented ( ) ) {
const KeyboardController = onPress ( theme [ 6 ] ) . KeyboardController ;
KeyboardController . dismiss ( ) ;
}
} , items1 ) ;
obj = { maxFontSizeMultiplier : 1.3 , style : tmp4 , children : null } ;
if ( children == null ) {
children = text ;
}
if ( children == null ) {
children = "Done" ;
}
obj [ 2 ] = children ;
obj [ 7 ] = < closure _5 maxFontSizeMultiplier = { 1.3 } style = { tmp4 } > { null } < / c l o s u r e _ 5 > ;
return < button maxFontSizeMultiplier = { 1.3 } style = { tmp4 } > { null } < / b u t t o n > ;
} ;