UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

8 lines (7 loc) 602 B
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 } from './interface'; export declare function getPlacementOffsetStyle(top?: number | string, bottom?: number | string): React.CSSProperties; export declare function getMotion(prefixCls: string): CSSMotionProps; export declare function getCloseIconConfig(closeIcon: React.ReactNode, notificationConfig?: NotificationConfig, notification?: CPNotificationConfig): React.ReactNode;