Skip to content

Commit 67a7512

Browse files
authored
Merge pull request #426 from mashmatrix/fix-fc-children-2
add children in ComponentSettings props
2 parents b021548 + fd9978e commit 67a7512

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)