options.js
26 lines
| 1 | /** |
| 2 | * WordPress dependencies |
| 3 | */ |
| 4 | const { __ } = wp.i18n; |
| 5 | |
| 6 | /** |
| 7 | * Options data for various form selects |
| 8 | */ |
| 9 | const giveFormOptions = {}; |
| 10 | |
| 11 | // Form Display Styles |
| 12 | giveFormOptions.columns = [ |
| 13 | { value: '1', label: '1' }, |
| 14 | { value: '2', label: '2' }, |
| 15 | { value: '3', label: '3' }, |
| 16 | { value: '4', label: '4' }, |
| 17 | ]; |
| 18 | |
| 19 | // Form Display Styles |
| 20 | giveFormOptions.displayType = [ |
| 21 | { value: 'redirect', label: __( 'Redirect' ) }, |
| 22 | { value: 'modal', label: __( 'Modal' ) }, |
| 23 | ]; |
| 24 | |
| 25 | export default giveFormOptions; |
| 26 |