Skip to content

Commit 367f255

Browse files
committed
fix: explicitly declare children prop for AuthProvider
Fixes #1
1 parent 270ecab commit 367f255

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)