react-hyper-tree
Version:
Fully customizable react tree component
9 lines (8 loc) • 347 B
TypeScript
export declare type IClassNamesObjectProps = {
[key: string]: boolean;
};
export declare type IClassNamesProps = string | undefined;
export declare const convertObjectToString: (classes: {
[key: string]: boolean;
}) => string;
export declare const classnames: (...classes: (IClassNamesObjectProps | IClassNamesProps)[]) => string;