UNPKG

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