tabs.ts
25 lines
| 1 | import { translate } from '@/utils/translate'; |
| 2 | |
| 3 | export type Tab = { |
| 4 | key: string; |
| 5 | label: string; |
| 6 | }; |
| 7 | |
| 8 | export const TABS_KEYS = { |
| 9 | OVERVIEW_TAB_FORMS: 'forms', |
| 10 | OVERVIEW_TAB_ECOMMERCE: 'woocommerce' |
| 11 | }; |
| 12 | |
| 13 | export const OVERVIEW_TABS: Tab[] = [ |
| 14 | { |
| 15 | key: TABS_KEYS.OVERVIEW_TAB_FORMS, |
| 16 | label: translate('hostinger_reach_forms_title') |
| 17 | }, |
| 18 | { |
| 19 | key: TABS_KEYS.OVERVIEW_TAB_ECOMMERCE, |
| 20 | label: translate('hostinger_reach_ecommerce_title') |
| 21 | } |
| 22 | ]; |
| 23 | |
| 24 | export const DEFAULT_OVERVIEW_TAB: string = TABS_KEYS.OVERVIEW_TAB_FORMS; |
| 25 |