index.js
12 lines
| 1 | // Internal dependencies |
| 2 | import Content from './content'; |
| 3 | import {__} from '@wordpress/i18n'; |
| 4 | |
| 5 | export const registerEditProfileTab = () => |
| 6 | window.giveDonorDashboard.utils.registerTab({ |
| 7 | label: __('Edit Profile', 'give'), |
| 8 | icon: 'cog', |
| 9 | slug: 'edit-profile', |
| 10 | content: Content, |
| 11 | }); |
| 12 |