Fixed #5297 - DataTable: tableClass prop specifies String type, though Array also works
parent
843a342024
commit
9fcc7cc848
|
@ -211,11 +211,11 @@ export default {
|
|||
default: null
|
||||
},
|
||||
rowClass: {
|
||||
type: null,
|
||||
type: [String, Object],
|
||||
default: null
|
||||
},
|
||||
rowStyle: {
|
||||
type: null,
|
||||
type: Object,
|
||||
default: null
|
||||
},
|
||||
scrollable: {
|
||||
|
@ -263,11 +263,11 @@ export default {
|
|||
default: null
|
||||
},
|
||||
tableClass: {
|
||||
type: String,
|
||||
type: [String, Object],
|
||||
default: null
|
||||
},
|
||||
tableProps: {
|
||||
type: null,
|
||||
type: Object,
|
||||
default: null
|
||||
},
|
||||
filterInputProps: {
|
||||
|
|
|
@ -1117,11 +1117,11 @@ export interface DataTableProps {
|
|||
/**
|
||||
* Inline style of the table element.
|
||||
*/
|
||||
tableStyle?: any;
|
||||
tableStyle?: object | undefined;
|
||||
/**
|
||||
* Style class of the table element.
|
||||
*/
|
||||
tableClass?: any;
|
||||
tableClass?: string | object | undefined;
|
||||
/**
|
||||
* Used to pass all properties of the TableHTMLAttributes to table element inside the component.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue