import React, { FC } from 'react' const kinds = { info: '#5352ED', positive: '#2ED573', negative: '#FF4757', warning: '#FFA502', } type Kind = keyof typeof kinds interface Props { kind: Kind } const AlertStyled: FC = ({ children, kind, ...rest }) => (
{children}
) const Alert: FC = props => Alert.defaultProps = { kind: 'info', } export default Alert