Fixed #5297 - DataTable: tableClass prop specifies String type, though Array also works

pull/5307/head
tugcekucukoglu 2024-02-19 09:12:35 +03:00
parent 843a342024
commit 9fcc7cc848
2 changed files with 6 additions and 6 deletions

View File

@ -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: {

View File

@ -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.
*/