UNPKG

jamis

Version:

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

18 lines (17 loc) 535 B
import React from 'react'; import type { RendererProps } from 'jamis-core'; import type { LinkSchema } from './types'; interface LinkProps extends RendererProps, Omit<LinkSchema, 'type' | 'className'> { } declare class LinkCmpt extends React.Component<LinkProps, object> { static defaultProps: { blank: boolean; disabled: boolean; htmlTarget: string; }; handleClick(e: React.MouseEvent<any>): void; render(): JSX.Element; } export declare class LinkFieldRenderer extends LinkCmpt { } export {};