Files
Folo/apps/mobile/native/example/src/App.tsx
T
Innei 59b8e91ada feat(mobile): support copy for ai summary card, and optimize style
- Added `react-native-uikit-colors` dependency to the mobile example.
- Updated `App.tsx` to utilize `useCurrentColorsVariants` for dynamic theming.
- Modified `summary.tsx` to improve animated content display and height management.
- Enhanced `hooks.ts` to set a longer stale time for summary data.
- Refactored `store.ts` to manage pending summary generation promises more effectively.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-31 23:19:34 +08:00

18 lines
454 B
TypeScript

import { View } from "react-native"
import { SafeAreaProvider } from "react-native-safe-area-context"
import { useCurrentColorsVariants } from "react-native-uikit-colors"
import { Pager } from "./demo/Pager"
export default function App() {
const currentThemeColors = useCurrentColorsVariants()
return (
<SafeAreaProvider>
<View style={currentThemeColors} className="flex-1">
<Pager />
</View>
</SafeAreaProvider>
)
}