Skip to content

Commit b14a553

Browse files
committed
feat(icon): Add directory icon
ref: #112 nofusscomputing/centurion_erp#705 closes #102
1 parent 5357799 commit b14a553

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/components/IconLoader.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ import ITOps from "./icons/itops";
6464
import Tenant from "./icons/Tenant";
6565
import Role from "./icons/Role";
6666
import User from "./icons/User";
67+
import DirectoryIcon from "./icons/Directory";
6768

6869

6970
const icon_components = {
@@ -84,6 +85,7 @@ const icon_components = {
8485
device_status_unk: InventoryStatusUknIcon,
8586
device_status_warn: InventoryStatusWarnIcon,
8687
devops: CodeIcon,
88+
directory: DirectoryIcon,
8789
documentation: Documentation,
8890
reply: ReplyIcon,
8991
delete: DeleteIcon,

src/components/icons/Directory.jsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const DirectoryIcon = ({
2+
width = '20px',
3+
height = '20px',
4+
fill = '#FFF'
5+
}) => {
6+
7+
return (
8+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" width={ width } height={ height } fill={ fill }>
9+
<path d="M440.5-500Q378-500 334-544.06 290-588.13 290-650q0-63 44.06-106.5Q378.13-800 440-800q63 0 106.5 43.5t43.5 106q0 62.5-43.5 106.5t-106 44Zm-.5-60q38 0 64-26.44T530-650q0-38-26-64t-63.5-26q-37.5 0-64 26T350-650.5q0 37.5 26.44 64T440-560ZM898-20 758-160q-23 17-47.5 23.5t-50.07 6.5q-71.01 0-120.72-49.62Q490-229.24 490-300.12t49.62-120.38q49.62-49.5 120.5-49.5t120.38 49.71Q830-370.58 830-299.57q0 25.57-6.5 50.07T800-202L940-62l-42 42ZM660-190q47 0 78.5-31.5T770-300q0-47-31.5-78.5T660-410q-47 0-78.5 31.5T550-300q0 47 31.5 78.5T660-190Zm-540 30v-94q0-37 17.5-63t50.5-43q47-23 122.5-43.5T464-419q-8 13-15 28.5T438-360q-78-1-136 18.5T212-306q-14 8-23 21.5t-9 30.5v34h258q11 17 20 31.5t20 28.5H120Zm320-490Zm-2 430Z"/>
10+
</svg>
11+
);
12+
}
13+
14+
export default DirectoryIcon

0 commit comments

Comments
 (0)