Skip to content

Commit

Permalink
Fix broken icon docs (#1063)
Browse files Browse the repository at this point in the history
* Fix broken icon docs

* Updates
  • Loading branch information
akleiner2 committed Sep 24, 2020
1 parent 5c2b4db commit 15d8b46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/IA.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default {
},
{
id: 'icons',
github: githubLink('icon'),
github: githubLink('icons'),
name: 'Icons',
tags: ['icon'],
image: Icons,
Expand Down
8 changes: 6 additions & 2 deletions docs/src/pages/components/icons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ Evergreen uses the amazing [@blueprintjs/icons](https://blueprintjs.com/docs/#ic

## Implementation Details

The `Icon` component is almost identical to the `Icon` component found in BlueprintsJS.
The exception is that BlueprintJS is using TypeScript.
All of Evergreen's icons are exported as individual components, and can be imported directly like so:

`import { CrossIcon } from 'evergreen-ui'`

`import { InfoSignIcon, EditIcon } from 'evergreen-ui'`


### Icons are not buttons

Expand Down

0 comments on commit 15d8b46

Please sign in to comment.