1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| const TAB_CONFIG = {
| 'tab-default': {
| openTop: 106,
| closeTop: 60,
| openHeight: 121,
| closeHeight: 75
| },
| 'tab-card': {
| openTop: 122,
| closeTop: 78,
| openHeight: 139,
| closeHeight: 95
| },
| 'tab-google': {
| openTop: 122,
| closeTop: 78,
| openHeight: 139,
| closeHeight: 95
| }
| }
| const getTabConfig = (style) => {
| return TAB_CONFIG[style] || TAB_CONFIG['tab-card']
| }
| export { TAB_CONFIG, getTabConfig }
|
|