@difizen/mana-react
Version:
28 lines • 1.18 kB
TypeScript
import type { NoticeProps } from 'rc-notification/es/Notice';
import * as React from 'react';
import type { IconType } from './protocol';
export declare const TypeIcon: {
info: import("react/jsx-runtime").JSX.Element;
success: import("react/jsx-runtime").JSX.Element;
error: import("react/jsx-runtime").JSX.Element;
warning: import("react/jsx-runtime").JSX.Element;
loading: import("react/jsx-runtime").JSX.Element;
};
export declare function getCloseIcon(prefixCls: string, closeIcon?: React.ReactNode): React.ReactNode;
export interface PureContentProps {
prefixCls: string;
icon?: React.ReactNode;
message?: React.ReactNode;
description?: React.ReactNode;
btn?: React.ReactNode;
type?: IconType;
role?: 'alert' | 'status';
}
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;
//# sourceMappingURL=pure-panel.d.ts.map