Skip to content

Commit

Permalink
Add explicit children prop (joshwcomeau#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjs authored Apr 22, 2022
1 parent 0b1d1c8 commit 9f17f68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions typings/react-flip-move.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ declare namespace FlipMove {
type AnimationProp = AnimationPreset | Animation | boolean;

interface FlipMoveProps {
/**
* The children to animate. Each child must have a unique key to work correctly.
*/
children?: React.ReactNode;

className?: string;

/**
Expand Down

0 comments on commit 9f17f68

Please sign in to comment.