| 92 | })); |
| 93 | |
| 94 | interface IProps { |
| 95 | title: string; |
| 96 | image?: string; |
| 97 | date: string; |
| 98 | content: string; |
| 99 | priority: number; |
| 100 | appName: string; |
| 101 | fDelete: VoidFunction; |
| 102 | extras?: IMessageExtras; |
| 103 | expanded: boolean; |
| 104 | onExpand: (expand: boolean) => void; |
| 105 | } |
| 106 | |
| 107 | const priorityColor = (priority: number) => { |
| 108 | if (priority >= 4 && priority <= 7) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…