From 2982c959930915b57b5bd353ae0bf04fd32c88b6 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 13 Mar 2020 10:10:38 -0400 Subject: [PATCH] fix(react): expose correct type for CreateAnimation (#20775) fixes #20771 --- packages/react/src/components/CreateAnimation.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react/src/components/CreateAnimation.tsx b/packages/react/src/components/CreateAnimation.tsx index 111ae6a619..1f78ff481a 100644 --- a/packages/react/src/components/CreateAnimation.tsx +++ b/packages/react/src/components/CreateAnimation.tsx @@ -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;