Skip to content

Commit

Permalink
Merge pull request #589 from kacperkosinski/add-share-icon
Browse files Browse the repository at this point in the history
Add share icon
  • Loading branch information
kacperkosinski authored Sep 13, 2023
2 parents 663b11e + e14ff5a commit 17edb96
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@lyyti/design-system",
"description": "Lyyti Design System",
"homepage": "https://lyytioy.github.io/lyyti-design-system",
"version": "2.4.0",
"version": "2.4.1",
"engines": {
"node": "^18",
"npm": "^9"
Expand Down
26 changes: 26 additions & 0 deletions src/icons/Sharing.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { createElement } from 'react';
import SvgIcon from '@mui/material/SvgIcon';

const Sharing = (props: any) =>
createElement(
SvgIcon,
props,
<path
stroke="currentColor"
fill="none"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.5}
d="M5.25 15a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM18.75 9.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM18.75 21.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z"
clipRule="evenodd"
/>,
<path
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.5}
d="m8.746 9.891 6.508-2.531M8.605 12.928l6.79 3.395"
/>
);

export default Sharing;
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,4 @@ export { default as Send } from './Send';
export { default as PlayContained } from './PlayContained';
export { default as ClockContained } from './ClockContained';
export { default as ParticipantFictional } from './ParticipantFictional';
export { default as Sharing } from './Sharing';
1 change: 1 addition & 0 deletions stories/DataDisplay/Icons.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ const iconsList = [
{ name: 'PlayContained', component: i.PlayContained },
{ name: 'ClockContained', component: i.ClockContained },
{ name: 'ParticipantFictional', component: i.ParticipantFictional },
{ name: 'Sharing', component: i.Sharing },
];

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

0 comments on commit 17edb96

Please sign in to comment.