MCPcopy
hub / github.com/ZHO-ZHO-ZHO/Nano-Bananary / ErrorMessageProps

Interface ErrorMessageProps

components/ErrorMessage.tsx:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { useTranslation } from '../i18n/context';
3
4interface ErrorMessageProps {
5 message: string;
6}
7
8const ErrorMessage: React.FC<ErrorMessageProps> = ({ message }) => {
9 const { t } = useTranslation();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected