diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-15 08:31:35 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-15 08:31:35 -0400 |
| commit | 19990a3edb29cb1a8ce09659db1a51cd36cbb4ad (patch) | |
| tree | 625e945d86bcc94b83f7d621480a63364ba9fd70 /src/client/views/nodes/trails/SlideEffect.tsx | |
| parent | b47af2c9b25a3e2435fd43dd68c4542667f50769 (diff) | |
cleanup
Diffstat (limited to 'src/client/views/nodes/trails/SlideEffect.tsx')
| -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: { |
