MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / NotificationView

Function NotificationView

src/components/ExecutionView/NotificationView.tsx:6–10  ·  view source on GitHub ↗
(props: Props)

Source from the content-addressed store, hash-verified

4}
5
6const NotificationView = (props: Props) => {
7 const { message, style } = props;
8 const additionalStyle = style === "error" ? "text-red-500" : "text-gray-500";
9 return <p className={`${additionalStyle} w-full pl-4 mt-4 font-mono text-sm whitespace-pre-wrap`}>{message}</p>;
10};
11
12export default NotificationView;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected