5211b26903
* update deps * update patches * fix new arch optout * build from source, disable new arch * update to preview.14 * upgrade off of preview to release * fix lockfile lint * update patches * add back expo-location * downgrade reanimated * downgrade pagerview * use expo-file-system/legacy * try and upgrade types/react-dom * fix type of uint8array * rm @types/react resolution from bad rebase * more type errors * fix mock * bump rn-compressor * add patch of https://github.com/bluesky-social/react-native-paste-input/pull/5 * delete NativeDropdown & remove Zeego * `import React` in expo modules * bump cocoapods * rm unused picker lib * add speculative react-native-mmkv patch * revert patch, add temp debug info to error * bring back speculative patch, patch built JS code instead of source * revert patch, just do debugging part * dep update * update resolutions, dynamic-app-icon * bump node version in eas.json * update build instructions * rm atob from docs * Delete react-native-mmkv+2.12.2.patch * bump expo which might include fix * update expo patch version * bump expo patch version * wrong version oops * update expo to latest * update react-native-compressor, rm patch
15 lines
454 B
TypeScript
15 lines
454 B
TypeScript
import {FocusScope as RadixFocusScope} from 'radix-ui/internal'
|
|
|
|
/*
|
|
* The web version of the FocusScope component is a proper implementation, we
|
|
* use this in Dialogs and such already. It's here as a convenient counterpart
|
|
* to the hacky native solution.
|
|
*/
|
|
export function FocusScope({children}: {children: React.ReactNode}) {
|
|
return (
|
|
<RadixFocusScope.FocusScope loop asChild trapped>
|
|
{children}
|
|
</RadixFocusScope.FocusScope>
|
|
)
|
|
}
|