mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-13 14:31:10 -05:00
13 lines
252 B
TypeScript
13 lines
252 B
TypeScript
import React from "react"
|
|
import Alert from "../elements/Alert"
|
|
|
|
interface ErrorProps {
|
|
errorMessage: string
|
|
}
|
|
|
|
const Error: React.FC<ErrorProps> = ({ errorMessage }) => {
|
|
return <Alert status="error">{errorMessage}</Alert>
|
|
}
|
|
|
|
export default Error
|