import React from 'react'; import classNames from 'classnames'; import ExitIcon from '@moda/icons/exit-16'; import { Clickable } from '../Clickable'; import { Text } from '../Text'; import { Stack, StackProps } from '../Stack'; import './Toast.scss'; export type ToastProps = { theme: 'success' | 'warning' | 'error'; onRemove?: () => void; } & Omit; export const Toast: React.FC = ({ theme, className, onRemove, children, ...rest }) => ( {children} {onRemove && ( )} );