Begin migration to expo-router
This commit is contained in:
parent
e373deb347
commit
0347ee6fb7
117 changed files with 8776 additions and 11935 deletions
8
app/hooks/useColorScheme.web.ts
Normal file
8
app/hooks/useColorScheme.web.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// NOTE: The default React Native styling doesn't support server rendering.
|
||||
// Server rendered styles should not change between the first render of the HTML
|
||||
// and the first render on the client. Typically, web developers will use CSS media queries
|
||||
// to render different styles on the client and server, these aren't directly supported in React Native
|
||||
// but can be achieved using a styling library like Nativewind.
|
||||
export function useColorScheme() {
|
||||
return 'light';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue