Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit 53b5d3c

Browse files
committed
fix: 修复 divider props 类型
1 parent b80989d commit 53b5d3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/divider/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ export default {
99
default: '',
1010
},
1111
height: {
12-
type: Number,
12+
type: [Number, String],
1313
default: 0,
1414
},
1515
fontColor: {
1616
type: String,
1717
default: '',
1818
},
1919
fontSize: {
20-
type: Number,
20+
type: [Number, String],
2121
default: 0,
2222
},
2323
lineColor: {

0 commit comments

Comments
 (0)