-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update "in-progress" indicator UI (#166)
- Loading branch information
Fran McDade
authored and
Fran McDade
committed
Aug 26, 2024
1 parent
457e6f6
commit 19b97c9
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/components/common/CustomIcon/components/InProgressIcon/inProgressIcon.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { SvgIcon } from "@mui/material"; | ||
import React from "react"; | ||
import { CustomSVGIconProps } from "../../common/entities"; | ||
|
||
/** | ||
* Custom in-progress icon. | ||
*/ | ||
|
||
export const InProgressIcon = ({ | ||
fontSize = "xsmall", | ||
viewBox = "0 0 18 18", | ||
...props /* Spread props to allow for Mui SvgIconProps specific prop overrides e.g. "htmlColor". */ | ||
}: CustomSVGIconProps): JSX.Element => { | ||
return ( | ||
<SvgIcon fontSize={fontSize} viewBox={viewBox} {...props}> | ||
<path | ||
d="M9 16.5C7.9625 16.5 6.9875 16.3031 6.075 15.9094C5.1625 15.5156 4.36875 14.9812 3.69375 14.3062C3.01875 13.6312 2.48437 12.8375 2.09062 11.925C1.69687 11.0125 1.5 10.0375 1.5 9C1.5 7.9625 1.69687 6.9875 2.09062 6.075C2.48437 5.1625 3.01875 4.36875 3.69375 3.69375C4.36875 3.01875 5.1625 2.48437 6.075 2.09062C6.9875 1.69687 7.9625 1.5 9 1.5C10.0375 1.5 11.0125 1.69687 11.925 2.09062C12.8375 2.48437 13.6312 3.01875 14.3062 3.69375C14.9812 4.36875 15.5156 5.1625 15.9094 6.075C16.3031 6.9875 16.5 7.9625 16.5 9C16.5 10.0375 16.3031 11.0125 15.9094 11.925C15.5156 12.8375 14.9812 13.6312 14.3062 14.3062C13.6312 14.9812 12.8375 15.5156 11.925 15.9094C11.0125 16.3031 10.0375 16.5 9 16.5ZM9 15C9.8 15 10.5687 14.85 11.3062 14.55C12.0437 14.25 12.6937 13.8187 13.2562 13.2562L9 9V3C7.325 3 5.90625 3.58125 4.74375 4.74375C3.58125 5.90625 3 7.325 3 9C3 10.675 3.58125 12.0937 4.74375 13.2562C5.90625 14.4187 7.325 15 9 15Z" | ||
fill="currentColor" | ||
/> | ||
</SvgIcon> | ||
); | ||
}; |