@withjoy/joykit
Version:
UI Component Library for Joy web
15 lines (14 loc) • 723 B
TypeScript
import { ToastPosition, ToastVariant } from './types';
import { CSSObject } from 'styled-components';
export declare const TOAST_POSITION: {
[pos in ToastPosition]: ToastPosition;
};
export declare const TOAST_POSITIONS: ToastPosition[];
export declare const TOAST_VARIANT: {
[variant in ToastVariant]: string;
};
export declare const TOAST_STYLES_BOTTOM: CSSObject;
export declare const TOAST_STYLES_TOP: CSSObject;
export declare const TOAST_STYLES_RIGHT: (position: "top" | "bottom") => CSSObject;
export declare const TOAST_STYLES_DIRECTION: (position: "top" | "bottom", direction: "left" | "right") => CSSObject;
export declare const TOAST_STYLES_LEFT: (position: "top" | "bottom") => CSSObject;