package
Accessibility settings
npm install react-native-accessibility-settingsGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
41.5 kB
Includes dependencies.
Accessibility settings (only iOS supported for now)
npm install react-native-accessibility-settingsimport AccessibilitySettings, {
useAccessibilitySettings,
useAccessibilitySetting,
} from 'react-native-accessibility-settings';
// Does NOT update when the users preferences change
const accessibilitySettings = AccessibilitySettings.get();
// DOES update when the users preferences change
const accessibilitySettings = useAccessibilitySettings();
const buttonShapes = useAccessibilitySetting('buttonShapes');Settings supported:-
shakeToUndoclosedCaptioningboldTextdarkerSystemColorsgrayscaleguidedAccessinvertColorsmonoAudioreduceMotionreduceTransparencyspeakScreenspeakSelectiononOffSwitchLabelsvideoAutoplaybuttonShapesprefersCrossFadeTransitionsshouldDifferentiateWithoutColorSee Apple's documentation for more information
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library