UNPKG

amis

Version:

一种MIS页面生成工具

25 lines (24 loc) 657 B
import React from 'react'; import { RendererProps } from '../factory'; export interface TplProps extends RendererProps { className?: string; tpl?: string; html?: string; text?: string; raw?: string; value?: string; wrapperComponent?: any; inline?: boolean; } export declare class Tpl extends React.Component<TplProps, object> { static defaultProps: Partial<TplProps>; dom: any; constructor(props: TplProps); componentDidUpdate(prevProps: TplProps): void; htmlRef(dom: any): void; getContent(): string; _render(): void; render(): JSX.Element; } export declare class TplRenderer extends Tpl { }