Skip to content

Commit 6e824ab

Browse files
authored
Merge pull request #2 from Forward-Software/fix/react-18-types
Explicitly declare `children` prop for `AuthProvider` component
2 parents 270ecab + 367f255 commit 6e824ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { BaseAuthClient } from './types';
77
* Props that can be passed to AuthProvider
88
*/
99
export type AuthProviderProps = {
10+
children?: React.ReactNode;
11+
1012
/**
1113
* An optional component to display if AuthClient initialization failed.
1214
*/

0 commit comments

Comments
 (0)