Skip to content

Commit 4d3dc67

Browse files
committed
update docs
1 parent 8321574 commit 4d3dc67

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
## Introduction
2424

2525
`Vue Final Modal` is a renderless component<br />
26-
You can create a wrapper component easily and can customize `template`, `script` and `style` based on your needs.
26+
You can create a [higher-order component](https://vue-final-modal.org/examples/recommended-use) easily and can customize `template`, `script` and `style` based on your needs.
2727

2828
features:
2929

docs/content/en/examples/recommended-use.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ position: 3
55
category: Examples
66
---
77

8+
9+
## Write a `higher-order component`
10+
811
<alert>
912

10-
`VModal` is a wrapper component using `vue-final-modal`.
11-
You can copy and paste the example and adjust the `template`, `script`, `style` based on your needs.
13+
You can create a `higer-order component` easily and can customize `template`, `script` and `style` based on your needs.
1214

1315
</alert>
1416

15-
## Write a wrapper component
16-
1717
### VModal.vue
1818

1919
<show-code open>
@@ -102,11 +102,11 @@ export default {
102102

103103
</show-code>
104104

105-
## How to use wrapper component
105+
## How to use the `higher-order component`
106106

107107
### Live example
108108

109-
<wrapper-example></wrapper-example>
109+
<hoc-example></hoc-example>
110110

111111
<show-code open class="pt-4">
112112

docs/content/en/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ features:
3535
</p>
3636

3737
[Vue Final Modal](https://github.com/hunterliu1003/vue-final-modal) is a tiny, renderless, mobile-friendly, feature-rich modal component for Vue.js.<br />
38-
You can create a [wrapper component](/examples/recommended-use) easily and can customize `template`, `script` and `style` based on your needs.
38+
You can create a [higer-order component](/examples/recommended-use) easily and can customize `template`, `script` and `style` based on your needs.
3939

4040
## Features
4141

0 commit comments

Comments
 (0)