HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/design.system/node_modules/rc-notification/es/interface.d.ts
import type React from 'react';
export type Placement = 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
type NoticeSemanticProps = 'wrapper';
export interface NoticeConfig {
    content?: React.ReactNode;
    duration?: number | null;
    showProgress?: boolean;
    pauseOnHover?: boolean;
    closeIcon?: React.ReactNode;
    closable?: boolean | ({
        closeIcon?: React.ReactNode;
    } & React.AriaAttributes);
    className?: string;
    style?: React.CSSProperties;
    classNames?: {
        [key in NoticeSemanticProps]?: string;
    };
    styles?: {
        [key in NoticeSemanticProps]?: React.CSSProperties;
    };
    /** @private Internal usage. Do not override in your code */
    props?: React.HTMLAttributes<HTMLDivElement> & Record<string, any>;
    onClose?: VoidFunction;
    onClick?: React.MouseEventHandler<HTMLDivElement>;
}
export interface OpenConfig extends NoticeConfig {
    key: React.Key;
    placement?: Placement;
    content?: React.ReactNode;
    duration?: number | null;
}
export type InnerOpenConfig = OpenConfig & {
    times?: number;
};
export type Placements = Partial<Record<Placement, OpenConfig[]>>;
export type StackConfig = boolean | {
    /**
     * When number is greater than threshold, notifications will be stacked together.
     * @default 3
     */
    threshold?: number;
    /**
     * Offset when notifications are stacked together.
     * @default 8
     */
    offset?: number;
    /**
     * Spacing between each notification when expanded.
     */
    gap?: number;
};
export {};