Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
80708119
Commit
80708119
authored
Jun 18, 2020
by
Jeremy Elder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating example to latest method
parent
d095b936
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
doc/development/fe_guide/icons.md
doc/development/fe_guide/icons.md
+2
-1
No files found.
doc/development/fe_guide/icons.md
View file @
80708119
...
...
@@ -61,6 +61,7 @@ export default {
<
gl
-
icon
name
=
"
issues
"
:
size
=
"
24
"
class
=
"
class-name
"
/>
<
/template>
```
...
...
@@ -68,7 +69,7 @@ export default {
-
**name**
Name of the Icon in the SVG Sprite (
[
Overview is available here
](
https://gitlab-org.gitlab.io/gitlab-svgs
)
).
-
**size (optional)**
Number value for the size which is then mapped to a specific CSS class
(Available Sizes: 8, 12, 16, 18, 24, 32, 48, 72 are mapped to
`sXX`
CSS classes)
-
**c
ss-classe
s (optional)**
Additional CSS Classes to add to the SVG tag.
-
**c
las
s (optional)**
Additional CSS Classes to add to the SVG tag.
### Usage in HTML/JS
...
...
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