Closed
Description
I am trying to adjust the size of icon in the CSidebarNavItem by passing icon as an object, such as
<CSidebarNavItem
name="Dashboard"
to="/dashboard"
:icon="{name: 'cil-chart', size: '4xl'}"
/>
however the size prop is not passed to CIcon.
However, creating a CIcon with the size
prop works just fine
<CIcon name="cil-chart" size="4xl"/>
After searching through the code I saw that CIconRaw is imported instead of CIcon
Could it be that importing CIconRaw instead of CIcon is to blame here?
Metadata
Metadata
Assignees
Labels
No labels