fix: fix Icons views
This commit is contained in:
parent
9fed168a53
commit
1777a092f6
@ -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>
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user