From ae18e1e11515fd41363fd5c2cb5528c8d0092505 Mon Sep 17 00:00:00 2001 From: daief <1437931235@qq.com> Date: Wed, 30 Nov 2022 21:42:58 +0800 Subject: [PATCH] fix: netural => neutral; add doc for Element --- README.md | 2 + docs/src/pages/components/badge.md | 6 +-- docs/src/pages/components/button.md | 12 +++--- docs/src/pages/components/checkbox.md | 6 +-- docs/src/pages/components/dropdown.md | 2 +- docs/src/pages/components/element.md | 55 +++++++++++++++++++++++++++ docs/src/pages/components/input.md | 2 +- docs/src/pages/components/link.md | 4 +- docs/src/pages/components/popper.md | 2 +- docs/src/pages/components/progress.md | 4 +- docs/src/pages/components/radio.md | 6 +-- docs/src/pages/components/toggle.md | 2 +- docs/src/pages/components/tooltip.md | 6 +-- src/components/_widgets/element.tsx | 2 +- src/components/badge/index.tsx | 2 +- src/components/button/button.tsx | 4 +- src/components/toggle/index.tsx | 2 +- src/components/tooltip/tooltip.tsx | 2 +- src/shared/constants/base-props.ts | 4 +- src/shared/types/common.ts | 2 +- 20 files changed, 92 insertions(+), 35 deletions(-) create mode 100644 docs/src/pages/components/element.md diff --git a/README.md b/README.md index dc96d78..c538de6 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,8 @@ export function render() { - [x] divider - [x] drawer - 🛠refactor - [x] dropdown - 🛠refactor(popper inside) +- [ ] widgets 🆕 new + - [x] element - [ ] footer - [ ] hero - [x] icon - 🛠[xicons](https://github.com/07akioni/xicons) diff --git a/docs/src/pages/components/badge.md b/docs/src/pages/components/badge.md index 43ae0bd..62c663f 100644 --- a/docs/src/pages/components/badge.md +++ b/docs/src/pages/components/badge.md @@ -8,7 +8,7 @@ badge