source: src/components/animate/types.ts

main
Last change on this file was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago

add customer

  • Property mode set to 100644
File size: 735 bytes
Line 
1// ----------------------------------------------------------------------
2
3type EaseType =
4 | 'linear'
5 | 'easeIn'
6 | 'easeOut'
7 | 'easeInOut'
8 | 'circIn'
9 | 'circOut'
10 | 'circInOut'
11 | 'backIn'
12 | 'backOut'
13 | 'backInOut'
14 | 'anticipate'
15 | number[];
16
17export type VariantsType = {
18 distance?: number;
19 durationIn?: number;
20 durationOut?: number;
21 easeIn?: EaseType;
22 easeOut?: EaseType;
23};
24
25export type TranHoverType = {
26 duration?: number;
27 ease?: EaseType;
28};
29
30export type TranEnterType = {
31 durationIn?: number;
32 easeIn?: EaseType;
33};
34
35export type TranExitType = {
36 durationOut?: number;
37 easeOut?: EaseType;
38};
39
40export type BackgroundType = {
41 colors?: string[];
42 duration?: number;
43 ease?: EaseType;
44};
Note: See TracBrowser for help on using the repository browser.