sso-poc-marn/components/useColorScheme.web.ts
Guillaume "B.B." Van Hemmen 97e93286f1
Initial commit
Generated by create-expo-app 2.3.1.
2024-05-06 11:06:27 +02:00

8 lines
472 B
TypeScript

// 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';
}