Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
b3d7184c
Commit
b3d7184c
authored
Oct 27, 2021
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Oct 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to use shared icons where possible
parent
9b09f42b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
icons.js
src/annotator/icons.js
+21
-16
No files found.
src/annotator/icons.js
View file @
b3d7184c
// @ts-nocheck
import
{
cancel
,
caretLeft
,
caretRight
,
caution
,
hide
,
highlight
,
note
,
show
,
}
from
'@hypothesis/frontend-shared/lib/icons'
;
// Different variant than shared icon
import
annotateIcon
from
'../images/icons/annotate.svg'
;
import
cancelIcon
from
'../images/icons/cancel.svg'
;
import
cautionIcon
from
'../images/icons/caution.svg'
;
import
caretLeftIcon
from
'../images/icons/caret-left.svg'
;
import
caretRightIcon
from
'../images/icons/caret-right.svg'
;
import
hideIcon
from
'../images/icons/hide.svg'
;
import
highlightIcon
from
'../images/icons/highlight.svg'
;
import
noteIcon
from
'../images/icons/note.svg'
;
// Not in shared icon set
import
pointerIcon
from
'../images/icons/pointer.svg'
;
import
showIcon
from
'../images/icons/show.svg'
;
/**
* Set of icons used by the annotator part of the application via the `SvgIcon`
...
...
@@ -17,13 +22,13 @@ import showIcon from '../images/icons/show.svg';
*/
export
default
{
annotate
:
annotateIcon
,
cancel
:
cancelIcon
,
caution
:
cautionIcon
,
'caret-left'
:
caretLeft
Icon
,
'caret-right'
:
caretRight
Icon
,
hide
:
hideIcon
,
highlight
:
highlightIcon
,
note
:
noteIcon
,
cancel
,
caution
,
'caret-left'
:
caretLeft
,
'caret-right'
:
caretRight
,
hide
,
highlight
,
note
,
pointer
:
pointerIcon
,
show
:
showIcon
,
show
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment