Skip to content

Commit

Permalink
feat: add copy icon (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyShatohin authored Dec 5, 2023
1 parent c08018d commit 56670db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/main/ts/icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export interface IconProps {
| 'check'
| 'clock'
| 'clock-solid'
| 'copy'
| 'cross'
| 'cross-small'
| 'crown'
Expand Down Expand Up @@ -168,6 +169,8 @@ export const IconPaths: { [name in IconProps['name']]: string } = {
'M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7.99c0-.546.444-.99 1-.99.552 0 1 .444 1 1v4l1.84 1.84a.964.964 0 0 1-.02 1.392l-.09.085a1.046 1.046 0 0 1-1.441-.028l-2.29-2.288V7.99z',
'clock-solid':
'M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM16.5145 15.1425L13 12.4338V7C13 6.44772 12.5523 6 12 6C11.4477 6 11 6.44772 11 7V13C11 13.3513 11.1843 13.6768 11.4855 13.8575L15.4855 16.8575C15.9591 17.1416 16.5733 16.9881 16.8575 16.5145C17.1416 16.0409 16.9881 15.4267 16.5145 15.1425Z',
copy:
'M10.9999 6H8.17065C8.58249 4.83481 9.69373 4 10.9999 4H16.9999C18.6568 4 19.9999 5.34315 19.9999 7V13C19.9999 14.3062 19.1651 15.4175 17.9999 15.8293V13V7C17.9999 6.44772 17.5522 6 16.9999 6H10.9999ZM7 8C5.34315 8 4 9.34315 4 11V17C4 18.6569 5.34315 20 7 20H13C14.6569 20 16 18.6569 16 17V11C16 9.34315 14.6569 8 13 8H7ZM6 11C6 10.4477 6.44772 10 7 10H13C13.5523 10 14 10.4477 14 11V17C14 17.5523 13.5523 18 13 18H7C6.44772 18 6 17.5523 6 17V11Z',
cross:
'M12 10.586l6.293-6.293a1 1 0 0 1 1.414 1.414L13.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414L12 13.414l-6.293 6.293a1 1 0 1 1-1.414-1.414L10.586 12 4.293 5.707a1 1 0 0 1 1.414-1.414L12 10.586z',
'cross-small':
Expand Down

0 comments on commit 56670db

Please sign in to comment.