24 lines
844 B
TypeScript
24 lines
844 B
TypeScript
import * as React from 'react';
|
|
import type { NoticeProps } from 'rc-notification/lib/Notice';
|
|
import type { NoticeType } from './interface';
|
|
export declare const TypeIcon: {
|
|
info: React.JSX.Element;
|
|
success: React.JSX.Element;
|
|
error: React.JSX.Element;
|
|
warning: React.JSX.Element;
|
|
loading: React.JSX.Element;
|
|
};
|
|
export interface PureContentProps {
|
|
prefixCls: string;
|
|
type?: NoticeType;
|
|
icon?: React.ReactNode;
|
|
children: React.ReactNode;
|
|
}
|
|
export declare const PureContent: React.FC<PureContentProps>;
|
|
export interface PurePanelProps extends Omit<NoticeProps, 'prefixCls' | 'eventKey'>, Omit<PureContentProps, 'prefixCls' | 'children'> {
|
|
prefixCls?: string;
|
|
}
|
|
/** @private Internal Component. Do not use in your production. */
|
|
declare const PurePanel: React.FC<PurePanelProps>;
|
|
export default PurePanel;
|