mirror of
https://github.com/usememos/memos.git
synced 2025-11-08 00:16:37 +08:00
9 lines
194 B
TypeScript
9 lines
194 B
TypeScript
interface Props {
|
|
message: string;
|
|
}
|
|
|
|
const Error = ({ message }: Props) => {
|
|
return <p className="font-mono text-sm text-red-600 dark:text-red-700">{message}</p>;
|
|
};
|
|
|
|
export default Error;
|