UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

24 lines (23 loc) 662 B
import { CSSObject } from '@xstyled/styled-components'; import { ThemeValues } from '../../theme'; export type ThemeToasts = { bottom: CSSObject; default: CSSObject; growls: { default: CSSObject; title: CSSObject; }; snackbar: { default: CSSObject; separator: { danger: CSSObject; default: CSSObject; info: CSSObject; success: CSSObject; warning: CSSObject; }; }; top: CSSObject; }; export type ToastVariant = 'danger' | 'default' | 'info' | 'success' | 'warning'; export declare const getToasts: (theme: ThemeValues) => ThemeToasts;