@choerodon/master
Version:
A package of Master for Choerodon platform.
5 lines (4 loc) • 299 B
TypeScript
import React from 'react';
declare type getImportsProps = (...args: any[]) => Promise<any>;
declare function asyncRouter(getComponent: getImportsProps, getInjects?: getImportsProps | Record<string, any>, extProps?: any, callback?: CallableFunction): React.ComponentType;
export default asyncRouter;