Skip to content
Source
Sign inSign up

workspace-pane-animation.ts

8 lines319 Bytes

1import { Easing, ReduceMotion } from "react-native-reanimated";
2​
3/** Panes can open and close together; matching duration and easing prevents the center pane from wobbling. */
4export const WORKSPACE_PANE_TIMING = {
5 duration: 260,
6 easing: Easing.inOut(Easing.cubic),
7 reduceMotion: ReduceMotion.System,
8} as const;