mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-30 04:50:07 +00:00
The loader and the Next plugin only existed to drive webpack; Next runs on Turbopack and Vite has its own plugin. kitchen-sink and the integration app serve through vite, the optimizer suite drops the webpack name, and its fixture packages join the workspace so a fresh checkout links @my/ui.
7 lines
217 B
TypeScript
7 lines
217 B
TypeScript
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
|
|
const useSafeArea = useSafeAreaInsets
|
|
|
|
// `export { useSafeAreaInsets as useSafeArea }` breaks autoimport, so do this instead
|
|
export { useSafeArea }
|