From 0c3633404bc950bf4ca5d8a21ec4aa17e2d00647 Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Thu, 9 Jun 2022 02:35:21 +0800
Subject: [PATCH] docs: fix typo
---
demo/pages/docs/umd/enUS/index.md | 4 ++--
src/code/demos/enUS/index.demo-entry.md | 2 +-
src/dialog/demos/enUS/index.demo-entry.md | 2 +-
src/loading-bar/demos/enUS/index.demo-entry.md | 2 +-
src/message/demos/enUS/index.demo-entry.md | 4 ++--
src/notification/demos/enUS/index.demo-entry.md | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/demo/pages/docs/umd/enUS/index.md b/demo/pages/docs/umd/enUS/index.md
index 2777692f6..1c5ee046f 100644
--- a/demo/pages/docs/umd/enUS/index.md
+++ b/demo/pages/docs/umd/enUS/index.md
@@ -2,9 +2,9 @@
After version `2.30.3`, you can use UMD version of naive.
-If you want use a minified version of naive, use `https://unpkg.com/naive-ui@version/dist/index.prod.js` as `src`. If you don't specify a version, latest version would be used.
+If you want to use a minified version of naive, use `https://unpkg.com/naive-ui@version/dist/index.prod.js` as `src`. `version` is the version of naive-ui you want to use. If you don't specify a version, latest version would be used.
-You'd better lock version of package, nor there may be some breaking changes.
+You'd better lock version of the package, nor there may be some breaking changes.
Here's a basic demo:
diff --git a/src/code/demos/enUS/index.demo-entry.md b/src/code/demos/enUS/index.demo-entry.md
index 434cf0cf5..4d6c73eb7 100644
--- a/src/code/demos/enUS/index.demo-entry.md
+++ b/src/code/demos/enUS/index.demo-entry.md
@@ -3,7 +3,7 @@
## Prequisites
- Due to package size, Naive UI doesn't include highlight.js. If you want use Code, make sure you have set highlightjs before using it.
+ Due to package size, Naive UI doesn't include highlight.js. If you want to use Code, make sure you have set highlightjs before using it.
The following code shows how to set hljs of Code. Importing highlight.js on demand is recommonded, because it can significantly reduce bundle size of your app.
diff --git a/src/dialog/demos/enUS/index.demo-entry.md b/src/dialog/demos/enUS/index.demo-entry.md
index 9b6a4d46b..4715d8015 100644
--- a/src/dialog/demos/enUS/index.demo-entry.md
+++ b/src/dialog/demos/enUS/index.demo-entry.md
@@ -3,7 +3,7 @@
Before taking action, please confirm.
- If you want use dialog, you need to wrap the component where you call related methods inside n-dialog-provider and use useDialog to get the API.
+ If you want to use dialog, you need to wrap the component where you call related methods inside n-dialog-provider and use useDialog to get the API.
For example:
diff --git a/src/loading-bar/demos/enUS/index.demo-entry.md b/src/loading-bar/demos/enUS/index.demo-entry.md
index e323f18eb..398d7a42e 100644
--- a/src/loading-bar/demos/enUS/index.demo-entry.md
+++ b/src/loading-bar/demos/enUS/index.demo-entry.md
@@ -4,7 +4,7 @@ A kind of good placebo for anxiety.
- If you want use loading bar, you need to wrap the component where you call related methods inside n-loading-bar-provider and inject loadingBar.
+ If you want to use loading bar, you need to wrap the component where you call related methods inside n-loading-bar-provider and inject loadingBar.
For example:
diff --git a/src/message/demos/enUS/index.demo-entry.md b/src/message/demos/enUS/index.demo-entry.md
index 9716939d9..39a41db44 100644
--- a/src/message/demos/enUS/index.demo-entry.md
+++ b/src/message/demos/enUS/index.demo-entry.md
@@ -4,9 +4,9 @@ Oracle from the top(always) of the browser.
- If you want use message, you need to wrap the component where you call related methods inside n-message-provider and use useMessage to get the API.
+ If you want to use message, you need to wrap the component where you call related methods inside n-message-provider and use useMessage to get the API.
- If you want use it outside setup, please refer to Q & A part at the bottom of the page.
+ If you want to use it outside setup, please refer to Q & A part at the bottom of the page.
For example:
diff --git a/src/notification/demos/enUS/index.demo-entry.md b/src/notification/demos/enUS/index.demo-entry.md
index 14a4dc597..487f0e055 100644
--- a/src/notification/demos/enUS/index.demo-entry.md
+++ b/src/notification/demos/enUS/index.demo-entry.md
@@ -6,7 +6,7 @@ Notification component is always with low piority so I can make a lot of useless
- If you want use notification, you need to wrap the component where you call related methods inside n-notification-provider and use useNotification to get the API.
+ If you want to use notification, you need to wrap the component where you call related methods inside n-notification-provider and use useNotification to get the API.
For example: