Skip to content

Commit

Permalink
Merge pull request #77 from trixtateam/fix/missing-type
Browse files Browse the repository at this point in the history
fix: fixed missing reaction type
  • Loading branch information
jacqueswho authored Oct 10, 2022
2 parents 9a44632 + 98f467e commit 9ad7cd7
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 9ad7cd7

Please sign in to comment.