Skip to content

Commit

Permalink
fix: prop type for wrapper component
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Feb 16, 2022
1 parent 62c0568 commit 1f0c800
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
required: true
},
wrapper: {
type: String,
type: [String, Object, Function],
required: false,
default: 'div'
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/RichText.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
required: false,
},
wrapper: {
type: String,
type: [String, Object, Function],
required: false,
default: "div",
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
required: false,
},
wrapper: {
type: String,
type: [String, Object, Function],
required: false,
default: "div",
},
Expand Down

0 comments on commit 1f0c800

Please sign in to comment.