import * as React from 'react'; interface Props { title?: string; message: string; type?: 'success' | 'info' | 'warning' | 'error'; } export default ({ title, message, type }: Props) => (