useAccessibleColors | NativeBase | Universal Components for React and React Native

Nativebase logo
NativeBase
Data Display
Typography
Disclosure
Media and Icons
Others
useAccessibleColors
useAccessibleColors is a custom hook that enhance color settings for better in the app. By default, accessible colors are off. This allows better color matching to the theme of the app. You can also use this hook if you want to continue using accessible text colors. You can also pass it in the config for with .
Import
Copy
import { useAccessibleColors } from "native-base";
Example
Playground
Return value
Returns an array with values accessibleColors, setAccessibleColors, toggleAccessibleColors.
Nativebase logo
MadeWithNativeBase