@dcp-designable/utils
Version:
工具类
15 lines (14 loc) • 467 B
TypeScript
import React from 'react';
import './index.less';
interface IProps {
type: 'success' | 'warning' | 'info' | 'error';
errType: 'system' | 'business';
message: string;
errCode?: string;
detailMsg?: string;
extraInfo?: Record<string, string>;
openRepair?: boolean;
}
export declare function FetchNotification(msg: React.ReactNode, props: IProps): void;
declare const InfoTemplate: React.FC<IProps>;
export default InfoTemplate;