antd
Version:
An enterprise-class UI design language and React components implementation
8 lines (7 loc) • 633 B
TypeScript
import type * as React from 'react';
import type { CSSMotionProps } from '@rc-component/motion';
import type { NotificationConfig as CPNotificationConfig } from '../config-provider/context';
import type { NotificationConfig, NotificationPlacement } from './interface';
export declare function getPlacementStyle(placement: NotificationPlacement, top: number, bottom: number): React.CSSProperties;
export declare function getMotion(prefixCls: string): CSSMotionProps;
export declare function getCloseIconConfig(closeIcon: React.ReactNode, notificationConfig?: NotificationConfig, notification?: CPNotificationConfig): React.ReactNode;