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

Commit

Permalink
feat: Add new icons
Browse files Browse the repository at this point in the history
Adds `Info`, `MinusRounded`, `PlusRounded`, `Refresh` and `ShareAlt`.
  • Loading branch information
rppld committed Jul 30, 2019
1 parent 832ccc2 commit 3b441c2
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Info.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { Icon } from './Icon'

export const Info = props => (
<Icon a11yTitle="Info" {...props}>
<path d="M18 16a2 2 0 1 0-4 0v6a2 2 0 1 0 4 0v-6zm-2-8a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 8zm0 22C8.28 30 2 23.72 2 16S8.28 2 16 2s14 6.28 14 14-6.28 14-14 14z" />
<path d="M18 23a2 2 0 11-4 0v-8a2 2 0 114 0v8zm-2-12a2 2 0 11-.001-3.999A2 2 0 0116 11z" />
</Icon>
)
8 changes: 8 additions & 0 deletions src/MinusRounded.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 MinusRounded = props => (
<Icon a11yTitle="MinusRounded" {...props}>
<path d="M23.034 17.962c1.1-.004 1.995-.9 2-2a1.972 1.972 0 00-1.984-1.983l-14.083.059c-1.1.004-1.996.9-2 2A1.967 1.967 0 008.95 18.02l14.084-.059zm6.127 2.663a13.508 13.508 0 01-8.536 8.536C14.98 31.025 9.602 29.4 6.1 25.899 2.599 22.398.974 17.02 2.839 11.376a13.51 13.51 0 018.536-8.537C17.02.975 22.398 2.599 25.9 6.1c3.501 3.502 5.125 8.88 3.261 14.525z" />
</Icon>
)
8 changes: 8 additions & 0 deletions src/PlusRounded.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 PlusRounded = props => (
<Icon a11yTitle="PlusRounded" {...props}>
<path d="M17.97 23.063l.022-5.072 5.071-.02a2.02 2.02 0 002.008-2.009 1.98 1.98 0 00-1.991-1.991l-5.072.021.021-5.071a1.98 1.98 0 00-1.991-1.992 2.02 2.02 0 00-2.008 2.008l-.021 5.072-5.071.02a2.02 2.02 0 00-2.008 2.009c-.003.552.219 1.05.58 1.411.36.36.858.582 1.411.58l5.071-.021-.02 5.071a1.976 1.976 0 001.991 1.991 2.02 2.02 0 002.008-2.007zm11.246-2.42a13.564 13.564 0 01-8.572 8.573c-5.667 1.871-11.068.24-14.584-3.275-3.516-3.516-5.148-8.917-3.276-14.584a13.566 13.566 0 018.572-8.573c5.668-1.871 11.069-.24 14.585 3.275 3.516 3.516 5.146 8.918 3.275 14.585z" />
</Icon>
)
8 changes: 8 additions & 0 deletions src/Refresh.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 Refresh = props => (
<Icon a11yTitle="Refresh" {...props}>
<path d="M26.802 13.994c-.96-5.1-5.428-8.976-10.802-8.976-6.076 0-11 4.913-11 10.988C5 22.081 9.924 27 16 27c2.776 0 5.305-1.04 7.24-2.737l-2.246-3.373A6.976 6.976 0 0116 22.994c-3.86 0-7-3.14-7-7s3.14-7 7-7c3.149 0 5.817 2.122 6.694 5h-1.826c-.799 0-1.275.841-.832 1.506l4.131 6.148c.396.594 1.269.62 1.665.025l4.131-6.173c.443-.665-.033-1.506-.832-1.506h-2.329z" />
</Icon>
)
8 changes: 8 additions & 0 deletions src/ShareAlt.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 ShareAlt = props => (
<Icon a11yTitle="ShareAlt" {...props}>
<path d="M23 12c1.654 0 3 1.346 3 3v12c0 1.654-1.346 3-3 3H9c-1.654 0-3-1.346-3-3V15c0-1.654 1.346-3 3-3h2a1 1 0 110 2H9a1 1 0 00-1 1v12a1 1 0 001 1h14a1 1 0 001-1V15a1 1 0 00-1-1h-2a1 1 0 110-2h2zM12.207 8.206a.999.999 0 11-1.414-1.414l4.5-4.5a1.001 1.001 0 011.416 0l4.498 4.5a.999.999 0 11-1.414 1.414L17 5.413v13.586a1 1 0 11-2 0V5.413l-2.793 2.793z" />
</Icon>
)

0 comments on commit 3b441c2

Please sign in to comment.