UNPKG

jamis

Version:

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

14 lines (13 loc) 467 B
import React from 'react'; import type { RendererProps } from 'jamis-core'; import type { TagSchema } from './types'; interface TagProps extends RendererProps, Omit<TagSchema, 'type' | 'className'> { } export declare class TagField extends React.Component<TagProps, object> { static defaultProps: Partial<TagProps>; handleClick: (e: React.MouseEvent) => void; render(): JSX.Element; } export declare class TagFieldRenderer extends TagField { } export {};