Skip to content

Commit cf4d0c7

Browse files
committed
Fix props type warning #211
1 parent ecd2331 commit cf4d0c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/props.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const VirtualProps = {
66
dataKey: {
7-
type: String,
7+
type: [String, Number],
88
required: true
99
},
1010
dataSources: {
@@ -125,7 +125,7 @@ export const ItemProps = {
125125
type: [Object, Function]
126126
},
127127
uniqueKey: {
128-
type: String
128+
type: [String, Number]
129129
},
130130
extraProps: {
131131
type: Object

0 commit comments

Comments
 (0)