parent
ab90e3fa08
commit
04f3e0da21
|
@ -126,7 +126,10 @@ export const tableProps = () => {
|
||||||
default: undefined,
|
default: undefined,
|
||||||
},
|
},
|
||||||
direction: { type: String as PropType<TableProps['direction']>, default: undefined },
|
direction: { type: String as PropType<TableProps['direction']>, default: undefined },
|
||||||
expandFixed: { type: Boolean as PropType<TableProps['expandFixed']>, default: undefined },
|
expandFixed: {
|
||||||
|
type: [Boolean, String] as PropType<TableProps['expandFixed']>,
|
||||||
|
default: undefined,
|
||||||
|
},
|
||||||
expandColumnWidth: {
|
expandColumnWidth: {
|
||||||
type: Number as PropType<TableProps['expandColumnWidth']>,
|
type: Number as PropType<TableProps['expandColumnWidth']>,
|
||||||
default: undefined,
|
default: undefined,
|
||||||
|
|
|
@ -98,7 +98,7 @@ export interface TableProps<RecordType = DefaultRecordType> {
|
||||||
direction?: 'ltr' | 'rtl';
|
direction?: 'ltr' | 'rtl';
|
||||||
|
|
||||||
// Expandable
|
// Expandable
|
||||||
expandFixed?: boolean;
|
expandFixed?: 'left' | 'right' | boolean;
|
||||||
expandColumnWidth?: number;
|
expandColumnWidth?: number;
|
||||||
expandedRowKeys?: Key[];
|
expandedRowKeys?: Key[];
|
||||||
defaultExpandedRowKeys?: Key[];
|
defaultExpandedRowKeys?: Key[];
|
||||||
|
|
Loading…
Reference in New Issue