Commit 80708119 authored by Jeremy Elder's avatar Jeremy Elder

Updating example to latest method

parent d095b936
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
<gl-icon <gl-icon
name="issues" name="issues"
:size="24" :size="24"
class="class-name"
/> />
</template> </template>
``` ```
...@@ -68,7 +69,7 @@ export default { ...@@ -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)). - **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 - **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) (Available Sizes: 8, 12, 16, 18, 24, 32, 48, 72 are mapped to `sXX` CSS classes)
- **css-classes (optional)** Additional CSS Classes to add to the SVG tag. - **class (optional)** Additional CSS Classes to add to the SVG tag.
### Usage in HTML/JS ### Usage in HTML/JS
......
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