UNPKG

@kaspersky/components

Version:

Kaspersky Design System UI Kit

17 lines (16 loc) 781 B
import { Theme } from '../../design-system/types/index.js'; import { SelectColorConfig } from '../select/types.js'; import { TreeColorConfig } from '../tree/types.js'; import { TreeSelectProps as TreeSelectPropsAntd } from 'antd'; import { TestingProps, ToViewProps } from '../../helpers/typesHelpers.js'; export declare type TreeSelectThemeProps = { /** Custom theme */ theme?: Theme; }; export declare type TreeSelectProps = TreeSelectPropsAntd & TestingProps & TreeSelectThemeProps; export declare type TreeSelectViewProps = ToViewProps<TreeSelectProps, TreeSelectCssConfig, TreeSelectThemeProps>; export declare type TreeSelectColorConfig = { select: SelectColorConfig; tree: TreeColorConfig; }; export declare type TreeSelectCssConfig = TreeSelectColorConfig;