Skip to content

Commit 0d704f6

Browse files
committed
correct <info-note> typo in composition.md
1 parent 087a891 commit 0d704f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/guide/composition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ var AppNote = {
8585
You might use it to display an error like this:
8686
8787
``` html
88-
<info-note type="danger">
88+
<app-note type="danger">
8989
<span slot="bold">Error!</span>
9090
Something went wrong.
91-
</info-note>
91+
</app-note>
9292
```
9393
9494
But there's a problem. Every time you display an error, you'll have to remember to add `type="danger"` and `Error!` in the `bold` slot. It's easy to make a mistake, resulting in inconsistent error messages.

0 commit comments

Comments
 (0)