From 4172ff4da68686f2d4db8d8d40abed77f07dfc0c Mon Sep 17 00:00:00 2001 From: 0song <82012629+0song@users.noreply.github.com> Date: Fri, 20 May 2022 12:06:00 +0800 Subject: [PATCH] docs: update doc (#7799) --- docs/en-US/component/space.md | 2 +- docs/en-US/component/switch.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en-US/component/space.md b/docs/en-US/component/space.md index c24ad95e4a..ad16f1945a 100644 --- a/docs/en-US/component/space.md +++ b/docs/en-US/component/space.md @@ -31,7 +31,7 @@ space/vertical-layout Control the space size via `size` API. -You can set the size with built-in sizes `small`, `default`, `large`, these size coresponds to `4px`, `8px`, `12px`, `16px`. The default size is `small`, A.K.A. `8px` +You can set the size with built-in sizes `small`, `default`, `large`, these size coresponds to `8px`, `12px`, `16px`. The default size is `small`, A.K.A. `8px` You can also using customized size to override it. Refer to the next part. diff --git a/docs/en-US/component/switch.md b/docs/en-US/component/switch.md index d232a0e3fe..f94d357d45 100644 --- a/docs/en-US/component/switch.md +++ b/docs/en-US/component/switch.md @@ -37,7 +37,7 @@ switch/text-description :::tip -Use the `active-icon` and `active-icon` attribute to add icon. You can pass either string for the component name (registered in advance) or the component itself which is a SVG Vue component. Element Plus has provided a set of icon that you can find at [icon](/en-US/component/icon) +Use the `active-icon` and `inactive-icon` attribute to add icon. You can pass either string for the component name (registered in advance) or the component itself which is a SVG Vue component. Element Plus has provided a set of icon that you can find at [icon](/en-US/component/icon) :::