import type { CascadeTreeProps } from '../CascadeTree/types'; import type { Option, ToArray } from '../internals/types'; export interface ItemKeys { valueKey: string; labelKey: string; childrenKey: string; } export interface MultiCascadeTreeProps extends CascadeTreeProps { /** * When set to true, selecting a child node will update the state of the parent node. */ cascade?: boolean; /** * Disabled items */ disabledItemValues?: ToArray>; /** * Set the option value for the check box not to be rendered */ uncheckableItemValues?: T[]; /** * A collection of localized strings. */ locale?: Partial; /** * Called after the checkbox state changes. */ onCheck?: (value: T[], node: Option, checked: boolean, event: React.SyntheticEvent) => void; }