18 lines
520 B
TypeScript
18 lines
520 B
TypeScript
|
declare namespace React {
|
||
|
interface HTMLAttributes {
|
||
|
/**
|
||
|
* Indicates the browser should ignore the element and its contents in terms of interaction.
|
||
|
* This is a boolean attribute but isn't properly supported by react yet - pass "" to enable
|
||
|
* it, or undefined to disable it.
|
||
|
*
|
||
|
* https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert
|
||
|
*/
|
||
|
inert?: ''
|
||
|
}
|
||
|
}
|
||
|
|
||
|
declare module '*.svg' {
|
||
|
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>
|
||
|
export default content
|
||
|
}
|