UNPKG

shineout

Version:

Shein 前端组件库

24 lines (23 loc) 822 B
import Notification from './utils/notification'; import { LanType, Direction } from './locale/Props'; import { CartType } from './icons/Props'; export declare const noti: Notification; interface ConfigOption { cssModule: boolean; prefix: string; locale: LanType; autoSSL: boolean; delay?: number; scrollRatio: number; trim?: boolean; spin?: string; caret?: CartType; direction: Direction; popupContainer?: HTMLElement | (() => HTMLElement); } declare const config: ConfigOption; export default config; export declare function set<Key extends keyof ConfigOption>(name: Key, value: ConfigOption[Key]): void; export declare function setConfig(conf: Partial<ConfigOption>): void; export declare function isRTL(): boolean; export declare function getDefaultContainer(): HTMLElement;