-
Notifications
You must be signed in to change notification settings - Fork 4
sr-only -> should output srOnly: true, outputs "sr.only" #15
Copy link
Copy link
Open
Description
const App = () => {
return <>
<span class="sr-only">{label} link</span>
</>
}import { css } from '../styled-system/css'
const App = () => {
return (
<>
<span
class={css({
pos: 'absolute',
w: 'sr.only',
h: 'sr.only',
p: 'sr.only',
m: 'sr.only',
overflow: 'hidden',
clip: 'rect(0, 0, 0, 0)',
whiteSpace: 'nowrap',
borderWidth: '0',
})}
>
{label} link
</span>
</>
)
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels