egreact
Version:
A react render for egret 一个为 egret 而生的 react 渲染器
5 lines (4 loc) • 463 B
TypeScript
import { DiffSet, ExtensionObj, IElementProps, Instance } from '../../type';
export declare const isDiffSet: (def: any) => def is DiffSet;
export declare function diffProps(instance: Instance, { children, attach, mountedApplyProps, args, ...props }?: IElementProps, { children, attach, mountedApplyProps, args, ...previous }?: IElementProps): DiffSet;
export declare function applyProps(instance: Instance, data: IElementProps | DiffSet): Instance<ExtensionObj>;