import type React from 'react' ; import { useScreenReaderEnabled } from '../../../hooks' ; export function VisuallyHidden ( { children , } ) { const screenReaderEnabled = useScreenReaderEnabled ( ) ; return screenReaderEnabled ? children : null ; }