Skip to content

Commit f3d611c

Browse files
Add note icon (#652)
* Add note icon * Update index.tsx * Update index.tsx
1 parent 0a370cc commit f3d611c

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

assets/icon-note.svg

Lines changed: 3 additions & 0 deletions
Loading

src/components/Icon/icons/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ import MenuVertical from '../../svg/MenuVertical';
8585
import Monitoring from '../../svg/BlobbyIconHeartMonitor';
8686
import MonitoringNav from '../../svg/IconHeartMonitor';
8787
import Mail from '../../svg/IconMail';
88+
import Note from '../../svg/IconNote';
8889
import Notification from '../../svg/Notification';
8990
import Organization from '../../svg/BlobbyIconOrganization';
9091
import OrganizationNav from '../../svg/IconOrg';
@@ -198,6 +199,7 @@ export type IconName =
198199
| 'monitoring'
199200
| 'monitoringNav'
200201
| 'newOrganization'
202+
| 'note'
201203
| 'notification'
202204
| 'organization'
203205
| 'organizationNav'
@@ -314,6 +316,7 @@ const icons: Record<IconName, SVGComponent> = {
314316
monitoring: Monitoring,
315317
monitoringNav: MonitoringNav,
316318
newOrganization: WelcomeClipboard,
319+
note: Note,
317320
notification: Notification,
318321
organization: Organization,
319322
organizationNav: OrganizationNav,

src/components/svg/IconNote.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import * as React from 'react';
2+
import { SVGProps } from 'react';
3+
interface SVGRProps {
4+
title?: string;
5+
titleId?: string;
6+
}
7+
const SvgIconNote = ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => (
8+
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' aria-labelledby={titleId} {...props}>
9+
{title ? <title id={titleId}>{title}</title> : null}
10+
<path
11+
fill='#333025'
12+
d='M5.25 3A2.26 2.26 0 0 0 3 5.25v13.5A2.26 2.26 0 0 0 5.25 21h9.5a.75.75 0 0 0 .538-.227l5.492-5.493a.75.75 0 0 0 .22-.53v-9.5A2.26 2.26 0 0 0 18.75 3zm0 1.5h13.5c.423 0 .75.327.75.75V14h-3.25A2.26 2.26 0 0 0 14 16.25v3.25H5.25a.74.74 0 0 1-.75-.75V5.25c0-.423.327-.75.75-.75m2.5 2.499a.75.75 0 1 0 0 1.5h8.5a.75.75 0 1 0 0-1.5zm0 3.5a.751.751 0 1 0 0 1.5h6.5a.75.75 0 1 0 0-1.5zm8.5 5.001h2.19l-2.94 2.94v-2.19c0-.423.327-.75.75-.75'
13+
/>
14+
</svg>
15+
);
16+
export default SvgIconNote;

src/components/svg/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export { default as IconMenuHorizontal } from './IconMenuHorizontal';
6767
export { default as IconMenu } from './IconMenu';
6868
export { default as IconModule } from './IconModule';
6969
export { default as IconMyLocation } from './IconMyLocation';
70+
export { default as IconNote } from './IconNote';
7071
export { default as IconNursery } from './IconNursery';
7172
export { default as IconOrg } from './IconOrg';
7273
export { default as IconParchment } from './IconParchment';

0 commit comments

Comments
 (0)