Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
feat: add Tag and City icons
Browse files Browse the repository at this point in the history
  • Loading branch information
rppld committed Aug 23, 2019
1 parent 9f4a164 commit 541a18f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/City.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import { Icon } from './Icon'

export const City = props => (
<Icon a11yTitle="City" {...props}>
<path d="M16 3a1 1 0 011 1v8.744l-3.833 3.845A4 4 0 0012 19.413V29H4a1 1 0 01-1-1V4a1 1 0 011-1h12zM8.5 15h-2a.5.5 0 00-.492.41L6 15.5v4a.5.5 0 00.41.492L6.5 20h2a.5.5 0 00.492-.41L9 19.5v-4a.5.5 0 00-.5-.5zm0-8h-2a.5.5 0 00-.492.41L6 7.5v4a.5.5 0 00.41.492L6.5 12h2a.5.5 0 00.492-.41L9 11.5v-4a.5.5 0 00-.5-.5zm14.206 5.685l.002.003 6 6.02a1 1 0 01.292.705V28a1 1 0 01-1 1h-4v-5a1 1 0 00-1-1h-2a1 1 0 00-1 1v5h-4a1 1 0 01-1-1v-8.587a1 1 0 01.292-.706l6-6.02a1 1 0 011.414-.002z" />
</Icon>
)
8 changes: 8 additions & 0 deletions src/Tag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import { Icon } from './Icon'

export const Tag = props => (
<Icon a11yTitle="Tag" {...props}>
<path d="M26.626 22.069l-7.66 6.428a2 2 0 01-2.818-.247L4.468 14.33a2 2 0 01-.46-1.46l.616-7.044A2 2 0 016.79 4.008l7.044.616a2 2 0 011.358.707l11.68 13.92a2 2 0 01-.247 2.818zM8.655 8.429a2 2 0 102.571 3.065A2 2 0 008.655 8.43z" />
</Icon>
)
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export { ChevronRight } from './ChevronRight'
export { ChevronRightAlt } from './ChevronRightAlt'
export { ChevronUp } from './ChevronUp'
export { ChevronUpAlt } from './ChevronUpAlt'
export { City } from './City'
export { Clock } from './Clock'
export { Close } from './Close'
export { CloseAlt } from './CloseAlt'
Expand Down Expand Up @@ -78,6 +79,7 @@ export { Spinner } from './Spinner'
export { Spotify } from './Spotify'
export { Star } from './Star'
export { Sun } from './Sun'
export { Tag } from './Tag'
export { ThumbsDown } from './ThumbsDown'
export { ThumbsUp } from './ThumbsUp'
export { Ticket } from './Ticket'
Expand Down
2 changes: 2 additions & 0 deletions src/index.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ storiesOf('Comets', module).add('all', () => (
<Icon.ChevronRightAlt title="ChevronRightAlt" />
<Icon.ChevronUp title="ChevronUp" />
<Icon.ChevronUpAlt title="ChevronUpAlt" />
<Icon.City title="City" />
<Icon.Clock title="Clock" />
<Icon.Close title="Close" />
<Icon.CloseAlt title="CloseAlt" />
Expand Down Expand Up @@ -90,6 +91,7 @@ storiesOf('Comets', module).add('all', () => (
<Icon.Spotify title="Spotify" />
<Icon.Star title="Star" />
<Icon.Sun title="Sun" />
<Icon.Tag title="Tag" />
<Icon.ThumbsDown title="ThumbsDown" />
<Icon.ThumbsUp title="ThumbsUp" />
<Icon.Ticket title="Ticket" />
Expand Down

0 comments on commit 541a18f

Please sign in to comment.