|
|
@ -5,7 +5,7 @@ type ListItemButtonChangeEventHandler = Exclude< |
|
|
|
undefined |
|
|
|
undefined |
|
|
|
>; |
|
|
|
>; |
|
|
|
|
|
|
|
|
|
|
|
type ListOptionalProps<T extends unknown = unknown> = { |
|
|
|
type ListOptionalProps<T = unknown> = { |
|
|
|
allowAddItem?: boolean; |
|
|
|
allowAddItem?: boolean; |
|
|
|
allowCheckAll?: boolean; |
|
|
|
allowCheckAll?: boolean; |
|
|
|
allowCheckItem?: boolean; |
|
|
|
allowCheckItem?: boolean; |
|
|
@ -46,4 +46,4 @@ type ListOptionalProps<T extends unknown = unknown> = { |
|
|
|
scroll?: boolean; |
|
|
|
scroll?: boolean; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
type ListProps<T extends unknown = unknown> = ListOptionalProps<T>; |
|
|
|
type ListProps<T = unknown> = ListOptionalProps<T>; |
|
|
|