diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index 3e15693ec..750a62153 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -11,6 +11,7 @@ - Slider - Switch - NoticeBar +- GoodsAction ##### ImagePreview diff --git a/packages/goods-action-icon/index.tsx b/packages/goods-action-icon/index.tsx index dbe702fba..faa41b52d 100644 --- a/packages/goods-action-icon/index.tsx +++ b/packages/goods-action-icon/index.tsx @@ -28,7 +28,12 @@ function GoodsActionIcon( } return ( -
+
-
+
客服
-
+
购物车 @@ -18,17 +18,17 @@ exports[`renders demo correctly 1`] = `
-
+
客服
-
+
5
购物车
-
+
店铺 diff --git a/packages/goods-action/test/__snapshots__/index.spec.js.snap b/packages/goods-action/test/__snapshots__/index.spec.js.snap index 3071e8c4c..b9abe7806 100644 --- a/packages/goods-action/test/__snapshots__/index.spec.js.snap +++ b/packages/goods-action/test/__snapshots__/index.spec.js.snap @@ -3,7 +3,7 @@ exports[`Button render default slot 1`] = ``; exports[`Icon render default slot 1`] = ` -
+
Default Content