give
/
src
/
Donations
/
resources
/
admin
/
components
/
DonationDetailsPage
/
Tabs
/
definitions.tsx
give
/
src
/
Donations
/
resources
/
admin
/
components
/
DonationDetailsPage
/
Tabs
Last commit date
Overview
6 months ago
Records
9 months ago
definitions.tsx
1 year ago
definitions.tsx
23 lines
| 1 | import { __ } from '@wordpress/i18n'; |
| 2 | import OverviewTab from './Overview'; |
| 3 | import RecordsTab from './Records'; |
| 4 | import { Tab } from '@givewp/components/AdminDetailsPage/types'; |
| 5 | |
| 6 | /** |
| 7 | * @since 4.6.0 |
| 8 | */ |
| 9 | const donationDetailsTabs: Tab[] = [ |
| 10 | { |
| 11 | id: 'overview', |
| 12 | title: __('Overview', 'give'), |
| 13 | content: OverviewTab, |
| 14 | }, |
| 15 | { |
| 16 | id: 'records', |
| 17 | title: __('Records', 'give'), |
| 18 | content: RecordsTab, |
| 19 | }, |
| 20 | ]; |
| 21 | |
| 22 | export default donationDetailsTabs; |
| 23 |