UNPKG

reablocks

Version:
20 lines (18 loc) 514 B
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>;