Skip to content

Commit

Permalink
fix: fix Icons views
Browse files Browse the repository at this point in the history
  • Loading branch information
woothu committed May 27, 2020
1 parent 9fed168 commit 1777a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/icons/brands/Brands.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const toKebabCase = (str) => {
}

export const getIconsView = iconset => {
return Object.keys(iconset).map(name => (
return Object.entries(iconset).map(([name, value]) => (
<CCol className="mb-5" xs="6" sm="4" md="3" xl="2" key={name}>
<CIconRaw name={name} size="2xl"/>
<CIconRaw content={value} size="2xl"/>
<div>{toKebabCase(name)}</div>
</CCol>
))
Expand Down

0 comments on commit 1777a09

Please sign in to comment.