UNPKG

732 BTypeScriptView Raw
1import type { StylingValue, Theme } from 'react-base16-styling';
2import type { CommonExternalProps } from './types';
3interface Props extends Partial<CommonExternalProps> {
4 data: unknown;
5 theme?: Theme;
6 invertTheme?: boolean;
7}
8export declare function JSONTree({ data: value, theme, invertTheme: shouldInvertTheme, keyPath, labelRenderer, valueRenderer, shouldExpandNodeInitially, hideRoot, getItemString, postprocessValue, isCustomNode, collectionLimit, sortObjectKeys, }: Props): JSX.Element;
9export type { Key, KeyPath, GetItemString, LabelRenderer, ValueRenderer, ShouldExpandNodeInitially, PostprocessValue, IsCustomNode, SortObjectKeys, Styling, CommonExternalProps, } from './types';
10export type { StylingValue };