Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
⚡ improvement(interpolation): enable passage of objects and functions…
Browse files Browse the repository at this point in the history
… to tag prop

This should enable the user to, not only pass global components and html tags, but also locally imported components
  • Loading branch information
vhoyer authored Jul 1, 2020
1 parent 1fd4833 commit 4c8be7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
functional: true,
props: {
tag: {
type: String
type: [String, Object, Function]
},
path: {
type: String,
Expand Down

0 comments on commit 4c8be7b

Please sign in to comment.