UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

10 lines (9 loc) 389 B
import type { FlattenInterpolation, ThemeProps } from "styled-components"; import type { Theme } from "../../defaultTheme"; declare const getTransitionAnimation: ({ width, shown, position, theme, }: { width: string; shown?: boolean | undefined; position: "right" | "left"; theme: Theme; }) => FlattenInterpolation<ThemeProps<Theme>>; export default getTransitionAnimation;