Open A91y opened 1 year ago
same problem
import { type SerializedStyles } from '@emotion/react'
declare module 'react' {
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
flex?: boolean
relative?: boolean
text?: string
grid?: boolean
before?: string
after?: string
shadow?: boolean
w?: string
h?: string
bg?: string
rounded?: string
fixed?: boolean
b?: string
z?: string
block?: boolean
'focus:shadow'?: boolean
css?: SerializedStyles
}
interface SVGProps<T> extends SVGAttributes<T>, ClassAttributes<T> {
w?: string
h?: string
}
}
Code Used
Message in Problem Tab (VSCODE)
Additional Note
Environment information:
react
version: 18.2.0@emotion/react
version: 11.11.1