Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Office icon #692

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/icons/Office.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { createElement } from 'react';
import SvgIcon from '@mui/material/SvgIcon';
const Office = (props: any) =>
createElement(
SvgIcon,
props,
<path
fill="currentColor"
d="M12 7V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2h-8ZM6 19H4v-2h2v2Zm0-4H4v-2h2v2Zm0-4H4V9h2v2Zm0-4H4V5h2v2Zm4 12H8v-2h2v2Zm0-4H8v-2h2v2Zm0-4H8V9h2v2Zm0-4H8V5h2v2Zm9 12h-7v-2h2v-2h-2v-2h2v-2h-2V9h7c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1Zm-1-8h-2v2h2v-2Zm0 4h-2v2h2v-2Z"
/>
);
export default Office;
2 changes: 1 addition & 1 deletion src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ export { default as Sharing } from './Sharing';
export { default as DoubleArrow } from './DoubleArrow';
export { default as HandGrab } from './HandGrab';
export { default as PhoneNumberQuestion } from './PhoneNumberQuestion';

export { default as Office } from './Office';
1 change: 1 addition & 0 deletions stories/DataDisplay/Icons.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ const iconsList = [
{ name: 'DoubleArrow', component: i.DoubleArrow },
{ name: 'HandGrab', component: i.HandGrab },
{ name: 'PhoneNumberQuestion', component: i.PhoneNumberQuestion },
{ name: 'Office', component: i.Office },
];

const Template: StoryFn<SvgIconProps> = (args) => {
Expand Down