Skip to content

Commit 698a27c

Browse files
shaodahongzombieJ
authored andcommitted
fix: ts type (#146)
1 parent 8f722c2 commit 698a27c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ lib
2626
es
2727
coverage
2828
yarn.lock
29+
package-lock.json

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const ALL_HANDLERS = [
4343
];
4444

4545
export interface TriggerProps {
46-
children: React.ReactElement;
46+
children: React.ReactNode;
4747
action?: ActionType | ActionType[];
4848
showAction?: ActionType[];
4949
hideAction?: ActionType[];

0 commit comments

Comments
 (0)