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; };
keyframes?: AnimationKeyFrames;
from?: PartialPropertyValue;
to?: PartialPropertyValue;
fromTo?: PropertyValue;
from?: PartialPropertyValue[] | PartialPropertyValue;
to?: PartialPropertyValue[] | PartialPropertyValue;
fromTo?: PropertyValue[] | PropertyValue;
play?: boolean;
pause?: boolean;