So when I’m using an Icon in Ant Design it is always 14 * 14 px. Is there a way to set the size maually?
Things like
<Icon width={"20px"} type="setting" />
or
<Icon style={{width: '20em'}} type="setting" />
do not work
Advertisement
Answer
Can change the size of the icon using fontSize
style property.
eg: use of style={{ fontSize: '150%'}}
<PlayCircleFilled style={{ fontSize: '150%'}} />