mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
21 lines
662 B
TypeScript
21 lines
662 B
TypeScript
|
import { ToastPosition, TypeOptions } from '../types';
|
||
|
declare type KeyOfPosition = 'TOP_LEFT' | 'TOP_RIGHT' | 'TOP_CENTER' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT' | 'BOTTOM_CENTER';
|
||
|
declare type KeyOfType = 'INFO' | 'SUCCESS' | 'WARNING' | 'ERROR' | 'DEFAULT' | 'DARK';
|
||
|
export declare const POSITION: {
|
||
|
[key in KeyOfPosition]: ToastPosition;
|
||
|
};
|
||
|
export declare const TYPE: {
|
||
|
[key in KeyOfType]: TypeOptions;
|
||
|
};
|
||
|
export declare const enum Default {
|
||
|
COLLAPSE_DURATION = 300,
|
||
|
DEBOUNCE_DURATION = 50,
|
||
|
CSS_NAMESPACE = "Toastify",
|
||
|
DRAGGABLE_PERCENT = 80
|
||
|
}
|
||
|
export declare const enum Direction {
|
||
|
X = "x",
|
||
|
Y = "y"
|
||
|
}
|
||
|
export {};
|