PurePanel.d.ts 844 B

1234567891011121314151617181920212223
  1. import * as React from 'react';
  2. import type { NoticeProps } from 'rc-notification/lib/Notice';
  3. import type { NoticeType } from './interface';
  4. export declare const TypeIcon: {
  5. info: React.JSX.Element;
  6. success: React.JSX.Element;
  7. error: React.JSX.Element;
  8. warning: React.JSX.Element;
  9. loading: React.JSX.Element;
  10. };
  11. export interface PureContentProps {
  12. prefixCls: string;
  13. type?: NoticeType;
  14. icon?: React.ReactNode;
  15. children: React.ReactNode;
  16. }
  17. export declare const PureContent: React.FC<PureContentProps>;
  18. export interface PurePanelProps extends Omit<NoticeProps, 'prefixCls' | 'eventKey'>, Omit<PureContentProps, 'prefixCls' | 'children'> {
  19. prefixCls?: string;
  20. }
  21. /** @private Internal Component. Do not use in your production. */
  22. declare const PurePanel: React.FC<PurePanelProps>;
  23. export default PurePanel;