vertically align icon to center react code example
Example: how to center icon vertically in react js
margin-left: 8px;
margin-bottom: 4px;
vertical-align: middle;
font-size: 24px;
margin-left: 8px;
margin-bottom: 4px;
vertical-align: middle;
font-size: 24px;