Skip to content

Commit

Permalink
fix(react): expose correct type for CreateAnimation (#20775)
Browse files Browse the repository at this point in the history
fixes #20771
  • Loading branch information
liamdebeasi committed Mar 25, 2020
1 parent f2dbe1f commit 0897c3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/CreateAnimation.tsx
Expand Up @@ -30,9 +30,9 @@ export interface CreateAnimationProps {
onFinish?: { callback: AnimationLifecycle; opts?: AnimationCallbackOptions; };

keyframes?: AnimationKeyFrames;
from?: PartialPropertyValue;
to?: PartialPropertyValue;
fromTo?: PropertyValue;
from?: PartialPropertyValue[] | PartialPropertyValue;
to?: PartialPropertyValue[] | PartialPropertyValue;
fromTo?: PropertyValue[] | PropertyValue;

play?: boolean;
pause?: boolean;
Expand Down

0 comments on commit 0897c3f

Please sign in to comment.