@thenewboston/ui
Version:
UI Library for the thenewboston community
15 lines (14 loc) • 387 B
TypeScript
import { FC } from 'react';
import './Toast.scss';
export declare type ToastType = 'success' | 'warning';
export interface ToastProps {
/** Optional. Extra classNames you can pass. */
className?: string;
/** Required. The type for Toast component. */
type: ToastType;
}
/**
* Toast component.
*/
declare const Toast: FC<ToastProps>;
export default Toast;