mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add pay later block
This commit is contained in:
parent
0d016b94ec
commit
9ded2bfa17
9 changed files with 244 additions and 0 deletions
42
modules/ppcp-paylater-block/block.json
Normal file
42
modules/ppcp-paylater-block/block.json
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "woocommerce-paypal-payments/paylater-messages",
|
||||
"version": "1.0.0",
|
||||
"title": "PayPal Pay Later messages",
|
||||
"category": "widgets",
|
||||
"description": "Pay Later",
|
||||
"example": {},
|
||||
"attributes": {
|
||||
"layout": {
|
||||
"type": "string",
|
||||
"default": "flex"
|
||||
},
|
||||
"logo": {
|
||||
"type": "string",
|
||||
"default": "inline"
|
||||
},
|
||||
"position": {
|
||||
"type": "string",
|
||||
"default": "left"
|
||||
},
|
||||
"color": {
|
||||
"type": "string",
|
||||
"default": "black"
|
||||
},
|
||||
"flexColor": {
|
||||
"type": "string",
|
||||
"default": "white"
|
||||
},
|
||||
"flexRatio": {
|
||||
"type": "string",
|
||||
"default": "8x1"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false
|
||||
},
|
||||
"textdomain": "woocommerce-paypal-payments",
|
||||
"editorScript": "file:./assets/js/paylater-block.js",
|
||||
"editorStyle": "file:./assets/css/edit.css"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue