aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/envshare/app/components/error.tsx
blob: acf36d7b3b16b426c54d6c0b342c5bb8db785791 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
type Props = {
  message: string;
};

export const ErrorMessage: React.FC<Props> = ({ message }) => {
  return (
    <div className="flex items-center justify-center my-8 lg:my-16">
      <span className="px-4 py-2 text-red-500 border rounded border-red-500/50 bg-red-500/10"> {message}</span>
    </div>
  );
};