Skip to content

Commit

Permalink
fix: Added string as prototype for width and height (#66)
Browse files Browse the repository at this point in the history
Fix #65
  • Loading branch information
emilpriver committed Mar 3, 2020
1 parent 6c1136f commit 1052c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ContentLoader.js
Expand Up @@ -7,11 +7,11 @@ export default {

props: {
width: {
type: Number,
type: [Number, String],
default: 400
},
height: {
type: Number,
type: [Number, String],
default: 130
},
speed: {
Expand Down

0 comments on commit 1052c1e

Please sign in to comment.