Light Theme | Dark Theme |
---|---|
![]() |
![]() |
The example project contains the following:
ThemeInterface
for defining the ThemeDefaultLightTheme
andDefaultDarkTheme
as Theme variationsThemeContext
for poviding and managing the ThemeThemeAwareObjectHook
for reusing the creation logic of reactive Style objectsCard
component for consuming and updating the ThemeRenderCounter
for counting the number of renders- Other components (
ScreeenView
,Toolbar
) for consuming the Theme
Install dependencies:
npm install
Run Android:
npm run android
Run iOS:
npm run ios