block.json
40 lines
| 1 | { |
| 2 | "name": "surecart/submit", |
| 3 | "title": "Submit Button", |
| 4 | "description": "Display a submit button.", |
| 5 | "category": "surecart", |
| 6 | "keywords": ["submit", "button"], |
| 7 | "ancestor": ["surecart/form"], |
| 8 | "supports": { |
| 9 | "reusable": false, |
| 10 | "html": false, |
| 11 | "multiple": false |
| 12 | }, |
| 13 | "attributes": { |
| 14 | "text": { |
| 15 | "type": "string", |
| 16 | "default": "Purchase" |
| 17 | }, |
| 18 | "type": { |
| 19 | "type": "string", |
| 20 | "default": "primary" |
| 21 | }, |
| 22 | "show_total": { |
| 23 | "type": "boolean", |
| 24 | "default": false |
| 25 | }, |
| 26 | "show_icon": { |
| 27 | "type": "boolean", |
| 28 | "default": true |
| 29 | }, |
| 30 | "full": { |
| 31 | "type": "boolean", |
| 32 | "default": false |
| 33 | }, |
| 34 | "size": { |
| 35 | "type": "string", |
| 36 | "default": "large" |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 |