(props: Props)
| 4 | } |
| 5 | |
| 6 | const 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 | |
| 12 | export default NotificationView; |
nothing calls this directly
no outgoing calls
no test coverage detected