MCPcopy Create free account
hub / github.com/Recordscript/recordscript / NotificationError

Function NotificationError

src/App.tsx:287–298  ·  view source on GitHub ↗
(
    props: P,
)

Source from the content-addressed store, hash-verified

285}
286
287function NotificationError<P extends { title: string; message: string }>(
288 props: P,
289) {
290 return (
291 <div class="bg-red-700 bg-opacity-75 p-2 rounded text-white">
292 <h3 class="font-extrabold">{props.title}</h3>
293 <p class="text-sm whitespace-pre-line">
294 {props.message}
295 </p>
296 </div>
297 );
298}
299
300function NotificationInfo<P extends { title: string; message: string, override_on_click?: () => void }>(
301 props: P,

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected