Commit 524443a4 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Add SVG icons needed by annotator

parent 6b68c263
...@@ -14,7 +14,13 @@ if (process.env.NODE_ENV !== 'production') { ...@@ -14,7 +14,13 @@ if (process.env.NODE_ENV !== 'production') {
import { registerIcons } from '../shared/components/svg-icon'; import { registerIcons } from '../shared/components/svg-icon';
registerIcons({ registerIcons({
annotate: require('../images/icons/annotate.svg'), annotate: require('../images/icons/annotate.svg'),
cancel: require('../images/icons/cancel.svg'),
'caret-left': require('../images/icons/caret-left.svg'),
'caret-right': require('../images/icons/caret-right.svg'),
hide: require('../images/icons/hide.svg'),
highlight: require('../images/icons/highlight.svg'), highlight: require('../images/icons/highlight.svg'),
note: require('../images/icons/note.svg'),
show: require('../images/icons/show.svg'),
}); });
import configFrom from './config/index'; import configFrom from './config/index';
......
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill-rule="evenodd"><rect fill="none" stroke="none" x="0" y="0" width="16" height="16"></rect><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 12L6 8l4-4"></path></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill-rule="evenodd"><rect fill="none" stroke="none" x="0" y="0" width="16" height="16"></rect><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.73 12.973A9.89 9.89 0 0 1 8 13c-3.866 0-7-2.239-7-5 0-.753.233-1.467.65-2.107m5.62-2.866A9.89 9.89 0 0 1 8 3c3.866 0 7 2.239 7 5 0 .753-.233 1.467-.65 2.107M1 1l14 14L1 1z"></path></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill-rule="evenodd"><rect fill="none" stroke="none" x="0" y="0" width="16" height="16"></rect><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 15h6l8-6V1H1v14zm6-1V9h7"></path></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill-rule="evenodd"><rect fill="none" stroke="none" x="0" y="0" width="16" height="16"></rect><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 13c3.866 0 7-2.239 7-5s-3.134-5-7-5-7 2.239-7 5 3.134 5 7 5zm0-4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"></path></g></svg>
...@@ -8,6 +8,7 @@ export default { ...@@ -8,6 +8,7 @@ export default {
'arrow-left': require('../images/icons/arrow-left.svg'), 'arrow-left': require('../images/icons/arrow-left.svg'),
'arrow-right': require('../images/icons/arrow-right.svg'), 'arrow-right': require('../images/icons/arrow-right.svg'),
cancel: require('../images/icons/cancel.svg'), cancel: require('../images/icons/cancel.svg'),
'caret-left': require('../images/icons/caret-left.svg'),
'caret-right': require('../images/icons/caret-right.svg'), 'caret-right': require('../images/icons/caret-right.svg'),
'cc-std': require('../images/icons/cc-std.svg'), 'cc-std': require('../images/icons/cc-std.svg'),
'cc-zero': require('../images/icons/cc-zero.svg'), 'cc-zero': require('../images/icons/cc-zero.svg'),
...@@ -31,12 +32,14 @@ export default { ...@@ -31,12 +32,14 @@ export default {
'format-quote': require('../images/icons/format-quote.svg'), 'format-quote': require('../images/icons/format-quote.svg'),
groups: require('../images/icons/groups.svg'), groups: require('../images/icons/groups.svg'),
help: require('../images/icons/help.svg'), help: require('../images/icons/help.svg'),
hide: require('../images/icons/hide.svg'),
highlight: require('../images/icons/highlight.svg'), highlight: require('../images/icons/highlight.svg'),
image: require('../images/icons/image.svg'), image: require('../images/icons/image.svg'),
leave: require('../images/icons/leave.svg'), leave: require('../images/icons/leave.svg'),
link: require('../images/icons/link.svg'), link: require('../images/icons/link.svg'),
lock: require('../images/icons/lock.svg'), lock: require('../images/icons/lock.svg'),
logo: require('../images/icons/logo.svg'), logo: require('../images/icons/logo.svg'),
note: require('../images/icons/note.svg'),
pointer: require('../images/icons/pointer.svg'), pointer: require('../images/icons/pointer.svg'),
profile: require('../images/icons/profile.svg'), profile: require('../images/icons/profile.svg'),
public: require('../images/icons/public.svg'), public: require('../images/icons/public.svg'),
...@@ -45,6 +48,7 @@ export default { ...@@ -45,6 +48,7 @@ export default {
reply: require('../images/icons/reply.svg'), reply: require('../images/icons/reply.svg'),
search: require('../images/icons/search.svg'), search: require('../images/icons/search.svg'),
share: require('../images/icons/share.svg'), share: require('../images/icons/share.svg'),
show: require('../images/icons/show.svg'),
success: require('../images/icons/check.svg'), success: require('../images/icons/check.svg'),
sort: require('../images/icons/sort.svg'), sort: require('../images/icons/sort.svg'),
trash: require('../images/icons/trash.svg'), trash: require('../images/icons/trash.svg'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment