Files
OrionTV/hooks/useColorScheme.web.ts
Neil.X.Zhang 3b79d06b7d Update
2025-06-27 16:16:14 +08:00

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