UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

5 lines (4 loc) 320 B
import type { TreeNodeData } from '../Tree'; export type CheckedStrategy = 'all' | 'parent' | 'child'; export declare function expandToLeafChecked(value: string[], data: TreeNodeData[]): string[]; export declare function checkedToValue(checkedState: string[], data: TreeNodeData[], strategy: CheckedStrategy): string[];