Skip to content

Commit 0b488d3

Browse files
authored
Revert "fix: ts type (#146)" (#147)
This reverts commit 698a27c.
1 parent 698a27c commit 0b488d3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ 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.ReactNode;
46+
children: React.ReactElement;
4747
action?: ActionType | ActionType[];
4848
showAction?: ActionType[];
4949
hideAction?: ActionType[];

0 commit comments

Comments
 (0)