https://codesandbox.io/embed/material-demo-g5pez?fontsize=14&hidenavigation=1&theme=dark
<span>
    {
        item.result.map((item, idx) => {
            return <span className="legend-label">
                <StopIcon />{item.metric}: {item.count}</span>
        })
    }
</span>
I am rendering material-icon and putting a text next to it. However, I am not sure how to make them vertically align with the RIGHT practice. Of course, I can put top or bottom attribute to style to make a tweak, but I believe that is not the right practice of doing this.
What is the right way to do this without generating a bad aftermath?

 
     
     
    