Skip to content

Commit

Permalink
fix: fixed missing reaction type
Browse files Browse the repository at this point in the history
  • Loading branch information
Nejc committed Oct 10, 2022
1 parent 9a44632 commit 98f467e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TrixtaReactionBaseProps } from '../../../types';
import { TrixtaReactionComponentArgs } from '../types';

export interface TrixtaReactionComponentProps extends TrixtaReactionBaseProps {
/**
Expand Down Expand Up @@ -45,5 +46,7 @@ export interface TrixtaReactionComponentProps extends TrixtaReactionBaseProps {
/**
* Children can be a render props function or a react component
*/
children?: React.ReactNode;
children?:
| React.ReactNode
| ((props: TrixtaReactionComponentArgs) => React.ReactNode);
}

0 comments on commit 98f467e

Please sign in to comment.