Use better icon for "Copy Link"
Not re-using the same icon as "Share".
This commit is contained in:
parent
ff059c58fd
commit
47b594107a
3 changed files with 8 additions and 1 deletions
|
@ -411,7 +411,7 @@ function ClaimMenuList(props: Props) {
|
||||||
|
|
||||||
<MenuItem className="comment__menu-option" onSelect={handleCopyLink}>
|
<MenuItem className="comment__menu-option" onSelect={handleCopyLink}>
|
||||||
<div className="menu__link">
|
<div className="menu__link">
|
||||||
<Icon aria-hidden icon={ICONS.SHARE} />
|
<Icon aria-hidden icon={ICONS.COPY_LINK} />
|
||||||
{__('Copy Link')}
|
{__('Copy Link')}
|
||||||
</div>
|
</div>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
|
|
@ -772,6 +772,12 @@ export const icons = {
|
||||||
viewBox: '0 0 60 60',
|
viewBox: '0 0 60 60',
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
[ICONS.COPY_LINK]: buildIcon(
|
||||||
|
<g>
|
||||||
|
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />
|
||||||
|
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />
|
||||||
|
</g>
|
||||||
|
),
|
||||||
[ICONS.PURCHASED]: buildIcon(
|
[ICONS.PURCHASED]: buildIcon(
|
||||||
<g>
|
<g>
|
||||||
<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4" />
|
<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4" />
|
||||||
|
|
|
@ -52,6 +52,7 @@ export const LINKEDIN = 'LinkedIn';
|
||||||
export const EMBED = 'Embed';
|
export const EMBED = 'Embed';
|
||||||
export const MORE = 'More';
|
export const MORE = 'More';
|
||||||
export const SHARE_LINK = 'ShareLink';
|
export const SHARE_LINK = 'ShareLink';
|
||||||
|
export const COPY_LINK = 'CopyLink';
|
||||||
export const ACCOUNT = 'User';
|
export const ACCOUNT = 'User';
|
||||||
export const SETTINGS = 'Settings';
|
export const SETTINGS = 'Settings';
|
||||||
export const FILTER = 'Filter';
|
export const FILTER = 'Filter';
|
||||||
|
|
Loading…
Reference in a new issue