- 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>
18 lines
454 B
TypeScript
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>
|
|
)
|
|
}
|