Browse Source

docs(popover): 文档修改

richard1015 3 years ago
parent
commit
98d01d1c64

+ 2 - 2
src/packages/__VUE/popover/doc.en-US.md

@@ -12,13 +12,13 @@ import { createApp } from 'vue';
 import { Popover } from '@nutui/nutui';
 
 const app = createApp();
-app.use(Popup);
+app.use(Popover);
 ```
 
 
 ### Basic Usage
 
-Popover supports both light and dark styles. The default is light style. Set the theme property to `dark` to switch to dark style.
+Popover supports both light and dark styles. The default is light style. Set the `theme` property to `dark` to switch to dark style.
 
 :::demo
 ```html

+ 2 - 2
src/packages/__VUE/popover/doc.md

@@ -12,13 +12,13 @@ import { createApp } from 'vue';
 import { Popover } from '@nutui/nutui';
 
 const app = createApp();
-app.use(Popup);
+app.use(Popover);
 ```
 
 
 ### 基础用法
 
-Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 theme 属性设置为 dark 可切换为暗黑风格。
+Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 `theme` 属性设置为 `dark` 可切换为暗黑风格。
 
 :::demo
 ```html

+ 2 - 2
src/packages/__VUE/popover/doc.taro.md

@@ -12,13 +12,13 @@ import { createApp } from 'vue';
 import { Popover } from '@nutui/nutui-taro';
 
 const app = createApp();
-app.use(Popup);
+app.use(Popover);
 ```
 
 
 ### 基础用法
 
-Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 theme 属性设置为 dark 可切换为暗黑风格。
+Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 `theme` 属性设置为 `dark` 可切换为暗黑风格。
 
 :::demo
 ```html