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 Liam DeBeasi
parent f2dbe1ff3b
commit 0897c3f9c2

View File

@@ -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;