Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

screenreader.tsx

16 lines288 Bytes

1import * as React from 'react'
2​
3export default function ScreenReader({ text }: { text: string }) {
4 return (
5 <span
6 style={{
7 position: 'absolute',
8 width: '0.1px',
9 height: '0.1px',
10 overflow: 'hidden',
11 }}
12 >
13 {text}
14 </span>
15 )