react-select-module
Version:
A Select control built with and for ReactJS
25 lines (22 loc) • 503 B
JavaScript
/** @jsx jsx */
import * as emotionCore from '@emotion/core';
const { jsx } = emotionCore;
// Assistive text to describe visual elements. Hidden for sighted users.
const A11yText = props => (
<span
css={{
label: 'a11yText',
zIndex: 9999,
border: 0,
clip: 'rect(1px, 1px, 1px, 1px)',
height: 1,
width: 1,
position: 'absolute',
overflow: 'hidden',
padding: 0,
whiteSpace: 'nowrap',
}}
{...props}
/>
);
export default A11yText;