diff options
Diffstat (limited to 'src/client/views/nodes/trails')
| -rw-r--r-- | src/client/views/nodes/trails/SlideEffect.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/trails/SlideEffect.tsx b/src/client/views/nodes/trails/SlideEffect.tsx index db2ac1ea0..e1cf9b127 100644 --- a/src/client/views/nodes/trails/SlideEffect.tsx +++ b/src/client/views/nodes/trails/SlideEffect.tsx @@ -5,7 +5,7 @@ import './SlideEffect.scss'; import { Doc } from '../../../../fields/Doc'; import { NumCast } from '../../../../fields/Types'; -interface Props { +interface SlideEffectProps { // pass in doc to extract width, height, bg doc?: Doc; dir: PresEffectDirection; @@ -31,7 +31,7 @@ const infiniteOptions = { * This component wraps around the doc to create an effect animation, and also wraps the preview animations * for the effects as well. */ -export default function SpringAnimation({ doc, dir, friction, tension, mass, presEffect, children, infinite }: Props) { +export default function SpringAnimation({ doc, dir, friction, tension, mass, presEffect, children, infinite }: SlideEffectProps) { const [springs, api] = useSpring( () => ({ from: { |
