Skip to content

Commit

Permalink
feat(icon): add play icon
Browse files Browse the repository at this point in the history
  • Loading branch information
glrodasz committed Jan 27, 2022
1 parent 1023b3c commit 720adb1
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
27 changes: 27 additions & 0 deletions atoms/Icon/__snapshots__/Icon.stories.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,33 @@ exports[`Storyshots Atoms/Icon Names 1`] = `
/>
</svg>
</div>
<div
className="icon color-base size-md background-transparent"
style={
Object {
"height": 35,
"width": 35,
}
}
>
<svg
height={35}
viewBox="0 0 34 34"
width={35}
xmlns="http://www.w3.org/2000/svg"
>
<path
clipRule="evenodd"
d="M17.0001 33.9298C7.66507 33.9298 0.0700684 26.3348 0.0700684 16.9998C0.0700684 7.66482 7.66507 0.0698242 17.0001 0.0698242C26.3351 0.0698242 33.9301 7.66482 33.9301 16.9998C33.9301 26.3348 26.3351 33.9298 17.0001 33.9298ZM17.0001 1.92982C8.69007 1.92982 1.93007 8.68982 1.93007 16.9998C1.93007 25.3098 8.69007 32.0698 17.0001 32.0698C25.3101 32.0698 32.0701 25.3098 32.0701 16.9998C32.0701 8.68982 25.3101 1.92982 17.0001 1.92982Z"
fillRule="evenodd"
/>
<path
clipRule="evenodd"
d="M12.0001 25.7408V8.25879L26.9851 16.9998L12.0001 25.7408ZM14.0001 11.7408V22.2588L23.0151 16.9998L14.0001 11.7408Z"
fillRule="evenodd"
/>
</svg>
</div>
</div>
`;

Expand Down
17 changes: 17 additions & 0 deletions atoms/Icon/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,23 @@ export const iconsMap = {
</>
),
},
play: {
viewBox: '0 0 34 34',
svg: (
<>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M17.0001 33.9298C7.66507 33.9298 0.0700684 26.3348 0.0700684 16.9998C0.0700684 7.66482 7.66507 0.0698242 17.0001 0.0698242C26.3351 0.0698242 33.9301 7.66482 33.9301 16.9998C33.9301 26.3348 26.3351 33.9298 17.0001 33.9298ZM17.0001 1.92982C8.69007 1.92982 1.93007 8.68982 1.93007 16.9998C1.93007 25.3098 8.69007 32.0698 17.0001 32.0698C25.3101 32.0698 32.0701 25.3098 32.0701 16.9998C32.0701 8.68982 25.3101 1.92982 17.0001 1.92982Z"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M12.0001 25.7408V8.25879L26.9851 16.9998L12.0001 25.7408ZM14.0001 11.7408V22.2588L23.0151 16.9998L14.0001 11.7408Z"
/>
</>
),
},
}

export const options = {
Expand Down

1 comment on commit 720adb1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for cero-components ready!

✅ Preview
https://cero-components-qn5xs5l1w-glrodasz.vercel.app

Built with commit 720adb1.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.