give
/
src
/
Campaigns
/
resources
/
admin
/
components
/
CampaignDetailsPage
/
Components
/
Notices
/
DefaultFormNotice.tsx
give
/
src
/
Campaigns
/
resources
/
admin
/
components
/
CampaignDetailsPage
/
Components
/
Notices
Last commit date
ArchivedCampaignNotice.tsx
1 year ago
CampaignNotice.tsx
1 year ago
DefaultFormNotice.tsx
1 year ago
DraftCampaignPageNotice.tsx
1 year ago
Notices.module.scss
8 months ago
DefaultFormNotice.tsx
21 lines
| 1 | import {__} from '@wordpress/i18n'; |
| 2 | import cx from 'classnames'; |
| 3 | import {CloseIcon} from "@givewp/campaigns/admin/components/Icons"; |
| 4 | |
| 5 | import styles from './Notices.module.scss' |
| 6 | |
| 7 | export default ({handleClick}) => ( |
| 8 | <div className={cx(styles['tooltip'], styles['defaultForm'])}> |
| 9 | <div className={styles['close']} onClick={handleClick}> |
| 10 | <CloseIcon /> |
| 11 | </div> |
| 12 | <h3> |
| 13 | {__('Default campaign form', 'give')} |
| 14 | </h3> |
| 15 | <div className={styles['content']}> |
| 16 | {__('The default form will always appear at the top of this list. Your campaign page and blocks will collect donations through this form by default. You can change it at any time.', 'give')} |
| 17 | </div> |
| 18 | </div> |
| 19 | ) |
| 20 | |
| 21 |