reablocks
Version:
Component library for React
20 lines (18 loc) • 514 B
TypeScript
import { TreeTheme } from './TreeTheme';
import { TreeContextProps } from './TreeContext';
import { default as React, FC, PropsWithChildren } from 'react';
export type TreeProps = {
/**
* CSS Classname to apply to the tree
*/
className?: string;
/**
* Extra style attributes to apply to the tree
*/
style?: React.CSSProperties;
/**
* Theme for the Tree
*/
theme?: TreeTheme;
} & TreeContextProps & PropsWithChildren;
export declare const Tree: FC<TreeProps>;