import { ExclamationIcon, ShieldExclamationIcon } from '@heroicons/react/outline'; import React from 'react'; import classNames from 'classnames'; interface AlertProps { type: 'warning' | 'danger'; className?: string; children: React.ReactNode; } export default ({ type, className, children }: AlertProps) => { return (