UNPKG

rsuite

Version:

A suite of react components

20 lines (19 loc) 759 B
import { type CheckTreeViewProps } from './CheckTreeView'; import type { TreeExtraProps } from '../Tree/types'; export type ValueType = (string | number)[]; export interface CheckTreeProps<T = ValueType> extends CheckTreeViewProps<T>, TreeExtraProps { /** * Default selected Value */ defaultValue?: T; /** * The shadow of the content when scrolling */ scrollShadow?: boolean; } /** * The `CheckTree` component is used for selecting multiple options which are organized in a tree structure. * @see https://rsuitejs.com/components/check-tree */ declare const CheckTree: import("../internals/types").InternalRefForwardingComponent<"div", CheckTreeProps<ValueType>, never> & Record<string, never>; export default CheckTree;