UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

16 lines (13 loc) 356 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VisuallyHidden = VisuallyHidden; var _hooks = require("../../../hooks"); function VisuallyHidden({ children }) { const screenReaderEnabled = (0, _hooks.useScreenReaderEnabled)(); return screenReaderEnabled ? children : null; } //# sourceMappingURL=index.js.map