fix(react): expose correct type for CreateAnimation (#20775)

fixes #20771
This commit is contained in:
Liam DeBeasi
2020-03-13 10:10:38 -04:00
committed by GitHub
parent bfb78abda0
commit 2982c95993

View File

@ -30,9 +30,9 @@ export interface CreateAnimationProps {
onFinish?: { callback: AnimationLifecycle; opts?: AnimationCallbackOptions; }; onFinish?: { callback: AnimationLifecycle; opts?: AnimationCallbackOptions; };
keyframes?: AnimationKeyFrames; keyframes?: AnimationKeyFrames;
from?: PartialPropertyValue; from?: PartialPropertyValue[] | PartialPropertyValue;
to?: PartialPropertyValue; to?: PartialPropertyValue[] | PartialPropertyValue;
fromTo?: PropertyValue; fromTo?: PropertyValue[] | PropertyValue;
play?: boolean; play?: boolean;
pause?: boolean; pause?: boolean;