Create a base Icon
to derive from when creating icons
#589
Labels
kind/enhancement
Improvement in current feature
Icon
to derive from when creating icons
#589
Current Behavior
We have multiple icons that needs to be refactored to reduce duplication on variables and constants, and rather rely on one icon to use from.
Desired Behavior
SistentIcon
IconProps
to includesx
props as an optional field to be used with MUIsize
field inIconProps
to provide the default sizes forxsmall
,small
,medium
,large
, andxlarge
Implementation
The below describes the
SistentIcon
that will wraps the svg path or else withBox
, doesn't have to be box, it can be adiv
.The
children
was changed to allow child elements within thediv
orBox
The fill will be a default color, in this case
charcoal
. This can be changed inline in project specific. You can also usesx
props from MUI in order to use thetheme
inline.Acceptance Tests
Mockups
Contributor Guide
The text was updated successfully, but these errors were encountered: