Skip to content

Commit baeef63

Browse files
authored
Update types to allow pass Children in React 18 (#103)
Extends the component prpps from PropsWithChildren as required by React 18.
1 parent 2a21456 commit baeef63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// eslint-disable
22
import * as React from "react"
33

4-
interface SpecificSocialLoginButtonProps {
4+
interface SpecificSocialLoginButtonProps extends React.PropsWithChildren {
55
onClick?: () => any;
66
onMouseEnter?: () => any;
77
onMouseLeave?: () => any;

0 commit comments

Comments
 (0)