Skip to content

Commit

Permalink
adding list of available glyph strings
Browse files Browse the repository at this point in the history
  • Loading branch information
caiokf committed Nov 14, 2019
1 parent cb6b90c commit 8623ee0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/components/Icons/icon.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ You can use one of the pre-determined size constants: `xs`, `sm`, `md`, `lg` and
</Story>
</Preview>

<div>
{Object.keys(glyphs).map(x => (
<span>{x}, </span>
))}
</div>

<br />
<br />

## Setting an icon color:

You can simply set any valid css color to the prop `color`:
Expand Down Expand Up @@ -81,6 +90,3 @@ You can simply set any valid css color to the prop `color`:
]}
</Story>
</Preview>

<br />
<br />

0 comments on commit 8623ee0

Please sign in to comment.