mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-16 23:00:51 +00:00
feat: add DocumentCheck icon to IconProp and update incident postmortem note icon
This commit is contained in:
parent
d02e3882be
commit
faaded049a
3 changed files with 10 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ enum IconProp {
|
|||
Equals = "Equals",
|
||||
Archive = "Archive",
|
||||
File = "File",
|
||||
DocumentCheck = "DocumentCheck",
|
||||
Automation = "Automation",
|
||||
Workflow = "Workflow",
|
||||
TableCells = "TableCells",
|
||||
|
|
|
|||
|
|
@ -1130,6 +1130,14 @@ const Icon: FunctionComponent<ComponentProps> = ({
|
|||
d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"
|
||||
/>,
|
||||
);
|
||||
} else if (icon === IconProp.DocumentCheck) {
|
||||
return getSvgWrapper(
|
||||
<path
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
d="M10.125 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.625M10.125 2.25H10.5c4.971 0 9 4.029 9 9v.375M10.125 2.25c1.864 0 3.375 1.511 3.375 3.375V7.125c0 .621.504 1.125 1.125 1.125h1.5c1.864 0 3.375 1.511 3.375 3.375M9 15l2.25 2.25L15 12"
|
||||
/>,
|
||||
);
|
||||
} else if (icon === IconProp.TextFile || icon === IconProp.File) {
|
||||
return getSvgWrapper(
|
||||
<path
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ export const getIncidentEventItem: GetIncidentEventItemFunction = (
|
|||
note: incident.postmortemNote,
|
||||
date: postmortemDate,
|
||||
type: TimelineItemType.Note,
|
||||
icon: IconProp.File,
|
||||
icon: IconProp.DocumentCheck,
|
||||
iconColor: Gray500,
|
||||
title: "Incident Postmortem",
|
||||
highlight: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue