Skip to content

Commit 0f2461f

Browse files
authored
Update TypeScript to use the React.JSX namespace (#571)
Upstream has deprecated the JSX namespace in favor of React.JSX.
1 parent 298614c commit 0f2461f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
FaSymbol
1111
} from '@fortawesome/fontawesome-svg-core'
1212

13-
export function FontAwesomeIcon(props: FontAwesomeIconProps): JSX.Element
13+
export function FontAwesomeIcon(props: FontAwesomeIconProps): React.JSX.Element
1414

1515
/**
1616
* @deprecated use FontAwesomeIconProps

0 commit comments

Comments
 (0)