UNPKG

reablocks

Version:
19 lines (18 loc) 513 B
import { default as React, FC, PropsWithChildren } from 'react'; import { TreeContextProps } from './TreeContext'; import { TreeTheme } from './TreeTheme'; 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>;