import React from 'react';

type Props = {
    text: string;
  }

export const Alert: React.FC<Props> = ({text}) => {
    return(
        <p className="mt-2 text-sm text-red-600 dark:text-red-500 font-medium">{text}</p>
    )
}