From 33f81aa01d15923e83b0223a3a56b07a8bcd7d73 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Thu, 15 Dec 2022 12:06:17 +0800 Subject: [PATCH] demo: update demo (#39576) --- .../__snapshots__/demo-extend.test.ts.snap | 270 ++++++++++++------ .../__tests__/__snapshots__/demo.test.ts.snap | 186 +++++++----- components/float-button/demo/group-menu.md | 2 +- components/float-button/demo/group-menu.tsx | 24 +- components/float-button/demo/shape.md | 2 +- components/float-button/demo/shape.tsx | 36 +-- components/float-button/demo/tooltip.md | 2 +- components/float-button/demo/type.md | 2 +- 8 files changed, 330 insertions(+), 194 deletions(-) diff --git a/components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap index c2e30ea256..179fc62543 100644 --- a/components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -691,68 +691,134 @@ Array [ `; exports[`renders ./components/float-button/demo/group-menu.tsx extend context correctly 1`] = ` -
- -
+
+
+
+
+ +
+ +
+
+ +
, +
+ +
, +] `; exports[`renders ./components/float-button/demo/render-panel.tsx extend context correctly 1`] = ` @@ -1370,52 +1436,68 @@ exports[`renders ./components/float-button/demo/render-panel.tsx extend context exports[`renders ./components/float-button/demo/shape.tsx extend context correctly 1`] = ` Array [ -
- - -
, , + - + + , +
+ +
, +] `; exports[`renders ./components/float-button/demo/render-panel.tsx correctly 1`] = ` @@ -886,52 +930,46 @@ exports[`renders ./components/float-button/demo/render-panel.tsx correctly 1`] = exports[`renders ./components/float-button/demo/shape.tsx correctly 1`] = ` Array [ -
- - -
, , +