Skip to content

Commit

Permalink
i18n-n component local components passing (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Jul 30, 2020
1 parent fa66b41 commit 9d4ec63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/number.js
Expand Up @@ -7,7 +7,7 @@ export default {
functional: true,
props: {
tag: {
type: [String, Boolean],
type: [String, Boolean, Object],
default: 'span'
},
value: {
Expand Down
4 changes: 2 additions & 2 deletions vuepress/api/README.md
Expand Up @@ -739,7 +739,7 @@ The element `textContent` will be cleared by default when `v-t` directive is unb
* `path {Path}`: required, keypath of locale messages
* `locale {Locale}`: optional, locale
* `tag {string|boolean}`: optional, default `'span'`
* `tag {string | boolean | Object}`: optional, default `'span'`
* `places {Array | Object}`: optional (7.2+)
:::danger Important!!
Expand Down Expand Up @@ -794,7 +794,7 @@ new Vue({
* `value {number}`: required, number to format
* `format {string | NumberFormatOptions}`: optional, number format name or object with explicit format options
* `locale {Locale}`: optional, locale
* `tag {string|boolean}`: optional, default `'span'`
* `tag {string | boolean | Object}`: optional, default `'span'`
#### Usage:
Expand Down

0 comments on commit 9d4ec63

Please sign in to comment.