From a51305176117c7eec31601829467505ee360346e Mon Sep 17 00:00:00 2001 From: zombiej Date: Fri, 22 Apr 2022 15:33:01 +0800 Subject: [PATCH] docs: Update Dropdown demo --- .../__snapshots__/demo-extend.test.ts.snap | 51 +++++++++++-------- .../__tests__/__snapshots__/demo.test.js.snap | 51 +++++++++++-------- components/dropdown/demo/dropdown-button.md | 5 +- 3 files changed, 66 insertions(+), 41 deletions(-) diff --git a/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap index cb04769392..57ec90d637 100644 --- a/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/dropdown/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -4270,28 +4270,39 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md extend context co class="ant-btn ant-btn-default ant-dropdown-trigger" type="button" > - - Button - - - - + Button + +
+ + + +
+
- - Button - - - - + Button +
+
+ + + +
+
diff --git a/components/dropdown/demo/dropdown-button.md b/components/dropdown/demo/dropdown-button.md index ddc6f8c830..15f9264e02 100644 --- a/components/dropdown/demo/dropdown-button.md +++ b/components/dropdown/demo/dropdown-button.md @@ -74,7 +74,10 @@ export default () => (