Skip to content

Commit

Permalink
Added moreHoriz icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jfer-rubio committed Oct 25, 2018
1 parent 6900288 commit 95a3055
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
3 changes: 3 additions & 0 deletions design-system/src/components/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export default ({ icon }) => {
case 'edit': {
return <icon-edit />;
}
case 'more-horiz': {
return <icon-more-horiz />;
}
case 'power': {
return <icon-power />;
}
Expand Down
16 changes: 16 additions & 0 deletions design-system/src/components/icons/moreHoriz.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Component } from '@stencil/core';

@Component({
tag: 'icon-more-horiz',
shadow: false,
})
export class IconMoreHoriz {
render() {
return (
<svg viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
</svg>
);
}
}
2 changes: 1 addition & 1 deletion design-system/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</head>
<body>
<div style="width: 200px">
<wz-icon color="var(--negative-light)" icon="search" small></wz-icon>
<wz-icon color="var(--negative-light)" icon="more-horiz" small></wz-icon>
</div>
</body>
</html>
6 changes: 6 additions & 0 deletions site/pages/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ showSource: true
<wz-icon icon="edit" />
```

```html|span-2
showSource: true
---
<wz-icon icon="more-horiz" />
```

```html|span-2
showSource: true
---
Expand Down

0 comments on commit 95a3055

Please sign in to comment.