Skip to content

Commit 7dd345f

Browse files
authored
fix: JSX namespace usage without import (#334)
1 parent 7a8eb26 commit 7dd345f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/web/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SVGAttributes } from 'react'
1+
import { SVGAttributes, ReactElement } from 'react'
22

33
import ContentLoader from './ContentLoader'
44

@@ -14,7 +14,7 @@ export interface IContentLoaderProps extends SVGAttributes<SVGElement> {
1414
speed?: number
1515
title?: string
1616
uniqueKey?: string
17-
beforeMask?: JSX.Element
17+
beforeMask?: ReactElement
1818
}
1919

2020
export { default as Facebook } from './presets/FacebookStyle'

0 commit comments

Comments
 (0)