Skip to content

Commit 203e52f

Browse files
authored
fix: added children type to containerComponent prop type (#1971)(by @Nodonisko)
1 parent 83fe8ae commit 203e52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/bottomSheetModal/types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface BottomSheetModalProps
4343
* @type React.ComponentType
4444
* @default undefined
4545
*/
46-
containerComponent?: React.FC;
46+
containerComponent?: React.ComponentType<React.PropsWithChildren>;
4747

4848
// callbacks
4949
/**

0 commit comments

Comments
 (0)