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