@kaspersky/components
Version:
Kaspersky Design System UI Kit
21 lines (20 loc) • 693 B
TypeScript
import { Theme } from '../../design-system/types/index.js';
import { ToViewProps } from '../../helpers/typesHelpers.js';
import { Scrollbars } from 'react-custom-scrollbars-2';
declare type StateProps = {
trackColor?: string;
thumbColor?: string;
};
export declare type ScrollbarColorConfig = {
normal: StateProps;
hover: StateProps;
active: StateProps;
};
export declare type ScrollbarThemeProps = {
/** Custom theme */
theme?: Theme;
};
export declare type ScrollbarsType = Scrollbars;
export declare type ScrollbarCssConfig = ScrollbarColorConfig;
export declare type ScrollbarToViewProps<T> = ToViewProps<T, ScrollbarCssConfig, ScrollbarThemeProps>;
export {};