Using component props, we can allow the designers on our team to add spacing when they need it on things like icons.
For example, an icon that requires a margin right when used in a button, but not when used in a menu.
Using component props, we can allow the designers on our team to add spacing when they need it on things like icons.
For example, an icon that requires a margin right when used in a button, but not when used in a menu.