Question · React Native course · Module 2: Lists and styles

useColorScheme

What does the useColorScheme() hook return?

Answer options

  • An object with system colors
  • 'light', 'dark' or null (system preference)
  • A function to change colors
  • The application color palette
Show the answer

Correct answer:

  • 'light', 'dark' or null (system preference)