UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

14 lines (13 loc) 488 B
import React from 'react'; import type { InteractionProps } from 'react-json-view'; import type { JSONProps } from '../types'; export declare class JSONField extends React.Component<JSONProps, object> { static defaultProps: Partial<JSONProps>; emitChange: (e: InteractionProps) => boolean; shouldExpandNode: ({ namespace }: { namespace: Array<string | null>; }) => boolean; render(): JSX.Element; } export declare class JSONFieldRenderer extends JSONField { }