MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / Alert

Function Alert

src/components/util/Alert.js:12–14  ·  view source on GitHub ↗
({className, id, header, children: message, type})

Source from the content-addressed store, hash-verified

10 * Alert
11 */
12export default function Alert({className, id, header, children: message, type}) {
13 return (
14 <div id={id} className={`alert alert-${type} fade show ${className || ''}`} role="alert">
15 {header && <strong>{`${header} `}</strong>}
16 {message}
17 </div>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected