// Module ID: 1863 // Function ID: 1864 // Dependencies: [19, 21, 1855, 1856, 1861, 1828, 1854] // Exports: default // Module 1863 import _mod1828 from "module_1828" /* 1828 */; import disabledDefault from "disabled" /* 1855 */; import _modDef1856 from "module_1856" /* 1856 */; import noop from "module_19" /* 19 */; require = fn; fn(19).useCallback; const jsx = fn(21).jsx; export default function _default(icon) { ({ children, onPress } = icon); ({ disabled, button } = icon); ({ rippleRadius, style } = icon); if (button === undefined) { button = disabledDefault; } icon = icon.icon; if (icon === undefined) { icon = _modDef1856; } const toolbarContext = onPress(1861).useToolbarContext(); const theme = toolbarContext.theme; if (disabled == null) { disabled = toolbarContext.isPrevDisabled; } const items = [onPress]; const obj2 = { accessibilityHint: "Moves focus to the previous field", accessibilityLabel: "Previous", disabled, rippleRadius, style, testID: null, theme: null, onPress: null, children: null }; const obj = onPress(1861); const tmp5 = onPress; obj2.testID = tmp5(1854).TEST_ID_KEYBOARD_TOOLBAR_PREVIOUS; obj2.theme = theme; obj2.onPress = useCallback((isDefaultPrevented) => { if (onPress != null) { tmp(isDefaultPrevented); } if (!isDefaultPrevented.isDefaultPrevented()) { const KeyboardController = _mod1828.KeyboardController; KeyboardController.setFocusTo("prev"); } }, items); if (children == null) { const obj3 = { disabled, theme, type: "prev" }; children = tmp9(icon, obj3); } obj2.children = children; return ; };