| | |
| | | export interface TdIndexesProps { |
| | | style?: { |
| | | type: StringConstructor; |
| | | value?: string; |
| | | current?: { |
| | | type: null; |
| | | value?: string | number; |
| | | }; |
| | | defaultCurrent?: { |
| | | type: null; |
| | | value?: string | number; |
| | | }; |
| | | indexList?: { |
| | | type: ArrayConstructor; |
| | | value?: string[] | number[]; |
| | | }; |
| | | list?: { |
| | | type: ArrayConstructor; |
| | | value?: ListItem[]; |
| | | value?: Array<string | number>; |
| | | }; |
| | | sticky?: { |
| | | type: BooleanConstructor; |
| | |
| | | type: NumberConstructor; |
| | | value?: number; |
| | | }; |
| | | } |
| | | export interface ListItem { |
| | | title: string; |
| | | index: string; |
| | | children: { |
| | | title: string; |
| | | [key: string]: any; |
| | | }[]; |
| | | } |