Skip to content

Commit fd9978e

Browse files
committed
add children in props
1 parent b021548 commit fd9978e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scripts/ComponentSettings.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import React, { createContext, FC } from 'react';
1+
import React, { createContext, FC, ReactNode } from 'react';
22

33
export type ComponentSettingsProps = {
44
assetRoot?: string;
55
portalClassName?: string;
66
portalStyle?: object;
77
getActiveElement?: () => HTMLElement | null;
8+
children?: ReactNode;
89
};
910

1011
function getDocumentActiveElement() {

0 commit comments

Comments
 (0)