Skip to content

Commit ab2d405

Browse files
committed
fix
1 parent 78d212b commit ab2d405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import canUseDom from 'rc-util/lib/Dom/canUseDom';
55
import DomWrapper from './wapper';
66

77
interface MutationObserverProps {
8-
children: React.ReactElement;
8+
children: React.ReactNode;
99
options?: MutationObserverInit;
1010
onMutate?: (mutations: MutationRecord[], observer: MutationObserver) => void;
1111
}

0 commit comments

Comments
 (0)