@axeptio/design-system
Version:
Design System for Axeptio
30 lines (27 loc) • 720 B
TypeScript
type positions = 'top-left' | 'top-middle' | 'top-right' | 'bottom-left' | 'bottom-middle' | 'bottom-right';
const positionsStatus = 'top-left' as positions;
export const ToastContext: import('react').Context<any>;
export function useToast(): any;
export function ToastProvider(children: Element): JSX.Element;
export default Toast;
declare function Toast({
color,
position,
absolute,
backgroundColor,
title,
description,
progressBarColor,
icon
}: {
absolute: boolean;
position: positionsStatus;
backgroundColor?: string;
progressBarColor?: string;
color: string;
title: string;
description: string;
icon: string;
close: function;
}): JSX.Element;
//# sourceMappingURL=index.d.ts.map