| 1 |
import {CampaignDetailsTab} from '../types'; |
| 2 |
import {__} from '@wordpress/i18n'; |
| 3 |
import OverviewTab from './Overview'; |
| 4 |
import SettingsTab from './Settings'; |
| 5 |
import FormsTab from './Forms'; |
| 6 |
import { Tab } from '@givewp/components/AdminDetailsPage/types'; |
| 7 |
|
| 8 |
const campaignDetailsTabs: Tab[] = [ |
| 9 |
{ |
| 10 |
id: 'overview', |
| 11 |
title: __('Overview', 'give'), |
| 12 |
content: () => <OverviewTab />, |
| 13 |
}, |
| 14 |
{ |
| 15 |
id: 'settings', |
| 16 |
title: __('Settings', 'give'), |
| 17 |
content: () => <SettingsTab />, |
| 18 |
}, |
| 19 |
{ |
| 20 |
id: 'forms', |
| 21 |
title: __('Forms', 'give'), |
| 22 |
content: () => <FormsTab />, |
| 23 |
fullwidth: true, |
| 24 |
}, |
| 25 |
]; |
| 26 |
|
| 27 |
export default campaignDetailsTabs; |
| 28 |
|