Skip to main content

AMAProvider

The provider contains information about the various accessibility services.

Usage

<AMAProvider>
...
</AMAProvider>

Context Values

lib/providers/AMAProvider.tsx
export type AMAContextValue = {
isBoldTextEnabled: boolean;
isScreenReaderEnabled: boolean;
isGrayscaleEnabled: boolean;
isInvertColorsEnabled: boolean;
isReduceMotionEnabled: boolean;
isReduceTransparencyEnabled: boolean;
reactNavigationScreenOptions: {
animationEnabled: boolean;
animation: 'default' | 'fade';
};
};

Check useAMAContext for more info.