forked from gorhom/react-native-animated-tabbar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
presets.ts
34 lines (31 loc) · 843 Bytes
/
presets.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import BubbleTabBar, {
BubbleTabBarConfig,
BubbleTabBarItemConfig,
} from './presets/bubble';
import FlashyTabBar, {
FlashyTabBarConfig,
FlashyTabBarItemConfig,
} from './presets/flashy';
import MaterialTabBar, {
MaterialTabBarConfig,
MaterialTabBarItemConfig,
} from './presets/material';
const Presets = {
bubble: {
component: BubbleTabBar,
$c: undefined as any as BubbleTabBarConfig,
$t: undefined as any as BubbleTabBarItemConfig,
},
flashy: {
component: FlashyTabBar,
$c: undefined as any as FlashyTabBarConfig,
$t: undefined as any as FlashyTabBarItemConfig,
},
material: {
component: MaterialTabBar,
$c: undefined as any as MaterialTabBarConfig,
$t: undefined as any as MaterialTabBarItemConfig,
},
};
export type PresetEnum = keyof typeof Presets;
export default Presets;