UNPKG

cornell-glue-ui

Version:

Glue UI is Cornell WebDev's centralized UI component library. It implements our design system and serves as a single source of truth for React components used within our projects.

9 lines (8 loc) 280 B
declare type IToastVariant = 'info' | 'success' | 'warning' | 'error'; export interface IToastOptions { id: string; variant: IToastVariant; msg: string; } export declare const showToast: ({ id, variant, msg }: IToastOptions) => void; export default showToast;