Skip to content

Commit 4ccba59

Browse files
authored
Merge pull request #425 from aovcina/fix/incorrect_types_for_height_prop
fix: invalid type for prop `height`
2 parents 9a13308 + b5d8156 commit 4ccba59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const carouselProps = {
2929
// control the gap between slides
3030
height: {
3131
default: DEFAULT_CONFIG.height,
32-
type: Number,
32+
type: [Number, String],
3333
},
3434
// control snap position alignment
3535
snapAlign: {

0 commit comments

Comments
 (0)