From b1d53343976a2549bc2c2eae196fed87974bd7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E7=A6=85?= Date: Tue, 21 Jul 2020 13:17:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8C=89=E9=92=AE=E7=BB=84?= =?UTF-8?q?=20snippet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/demo/public/assets.json | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/packages/demo/public/assets.json b/packages/demo/public/assets.json index 0502f4b26..b233813fa 100644 --- a/packages/demo/public/assets.json +++ b/packages/demo/public/assets.json @@ -12666,6 +12666,54 @@ } ] }, + { + "componentName": "Button.Group", + "title": "按钮组", + "icon": "", + "package": "@alife/next", + "library": "Next", + "snippets": [ + { + "title": "按钮组", + "screenshot": "https://img.alicdn.com/tfs/TB1t6dhvV67gK0jSZPfXXahhFXa-310-122.png", + "schema": { + "componentName": "Button.Group", + "props": { + + }, + "children": [{ + "componentName": "Button", + "props": { + "type": "primary", + "style": { + "margin": "0 5px 0 5px" + }, + "htmlType": "submit" + }, + "children": [ + { + "componentName": "Icon", + "props": { + "type": "success" + } + }, + "提交" + ] + }, { + "componentName": "Button", + "props": { + "type": "normal", + "style": { + "margin": "0 5px 0 5px" + }, + "htmlType": "reset" + }, + "children": "重置" + }] + } + } + ] + }, { "componentName": "Divider", "title": "分隔符",