import classNames from 'classnames'; import React from 'react'; import { Kind } from 'Helpers/Props/kinds'; import styles from './Alert.css'; interface AlertProps { className?: string; kind?: Extract; children: React.ReactNode; } function Alert(props: AlertProps) { const { className = styles.alert, kind = 'info', children } = props; return
{children}
; } export default Alert;