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
674aa8bf
Commit
674aa8bf
authored
Aug 08, 2019
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cancel/close icon
parent
35d32057
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
cancel.svg
src/images/icons/cancel.svg
+1
-0
svg-icon.js
src/sidebar/components/svg-icon.js
+1
-0
No files found.
src/images/icons/cancel.svg
0 → 100644
View file @
674aa8bf
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
aria-hidden=
"true"
focusable=
"false"
class=
"Icon Icon--cancel"
><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 8l3.536-3.536L8 8 4.464 4.464 8 8zm0 0l-3.536 3.536L8 8l3.536 3.536L8 8z"
></path></g></svg>
src/sidebar/components/svg-icon.js
View file @
674aa8bf
...
@@ -7,6 +7,7 @@ const propTypes = require('prop-types');
...
@@ -7,6 +7,7 @@ const propTypes = require('prop-types');
// The list of supported icons
// The list of supported icons
const
icons
=
{
const
icons
=
{
add
:
require
(
'../../images/icons/add.svg'
),
add
:
require
(
'../../images/icons/add.svg'
),
cancel
:
require
(
'../../images/icons/cancel.svg'
),
'collapse-menu'
:
require
(
'../../images/icons/collapse-menu.svg'
),
'collapse-menu'
:
require
(
'../../images/icons/collapse-menu.svg'
),
'expand-menu'
:
require
(
'../../images/icons/expand-menu.svg'
),
'expand-menu'
:
require
(
'../../images/icons/expand-menu.svg'
),
copy
:
require
(
'../../images/icons/copy.svg'
),
copy
:
require
(
'../../images/icons/copy.svg'
),
...
...
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