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

Commit

Permalink
feat(copy): Add copy icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Roohn authored and Roohn committed Oct 14, 2020
1 parent bb66225 commit 6cf3189
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Copy.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 Copy = props => (
<Icon a11yTitle="Copy" {...props}>
<path d="M21 2H6C4.9 2 4 2.9 4 4V23C4 23.55 4.45 24 5 24C5.55 24 6 23.55 6 23V5C6 4.45 6.45 4 7 4H21C21.55 4 22 3.55 22 3C22 2.45 21.55 2 21 2ZM25 6H10C8.9 6 8 6.9 8 8V28C8 29.1 8.9 30 10 30H25C26.1 30 27 29.1 27 28V8C27 6.9 26.1 6 25 6ZM24 28H11C10.45 28 10 27.55 10 27V9C10 8.45 10.45 8 11 8H24C24.55 8 25 8.45 25 9V27C25 27.55 24.55 28 24 28Z" />
</Icon>
)
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { Close } from './Close'
export { CloseAlt } from './CloseAlt'
export { CloseRounded } from './CloseRounded'
export { Comment } from './Comment'
export { Copy } from './Copy'
export { CreditCard } from './CreditCard'
export { Dot } from './Dot'
export { Dots } from './Dots'
Expand Down
1 change: 1 addition & 0 deletions src/index.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ storiesOf('Comets', module).add('all', () => (
<Icon.CloseAlt title="CloseAlt" />
<Icon.CloseRounded title="CloseRounded" />
<Icon.Comment title="Comment" />
<Icon.Copy title="Copy" />
<Icon.CreditCard title="CreditCard" />
<Icon.Dot title="Dot" />
<Icon.Dots title="Dots" />
Expand Down

0 comments on commit 6cf3189

Please sign in to comment.