UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

12 lines (11 loc) 612 B
import { IRcNotificationContainerProps } from '@rc-hooks/notification'; declare const TransformType: { 'top-left': (percent: number) => string; 'top-right': (percent: number) => string; 'top-center': (percent: number) => string; 'bottom-left': (percent: number, height: number, space: number) => string; 'bottom-right': (percent: number, height: number, space: number) => string; 'bottom-center': (percent: number) => string; }; export declare function getAnimationConfig<T>(space: number, placement: keyof typeof TransformType): IRcNotificationContainerProps<T>['animation']; export {};