You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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>
|
|
)
|
|
} |