MCPcopy Create free account
hub / github.com/auth0-samples/auth0-nextjs-samples / ErrorMessage

Function ErrorMessage

Sample-01/components/ErrorMessage.jsx:4–8  ·  view source on GitHub ↗
({ children })

Source from the content-addressed store, hash-verified

2import { Alert } from 'reactstrap';
3
4const ErrorMessage = ({ children }) => (
5 <Alert color="danger" fade={false} data-testid="error">
6 {children}
7 </Alert>
8);
9
10export default ErrorMessage;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected