danawoodman/react-fontawesome

Stacked Icons

Closed this issue · 2 comments

How do you do stacked icons?

@chrisdebug right now you have to wrap your icons in a span like:

<span className='fa-stack fa-lg'>
  <FA name='square-o' stack='2x' />
  <FA name='twitter' stack='1x' />
</span>

I added an example to the examples directory to demonstrate this: https://github.com/danawoodman/react-fontawesome/blob/master/examples/index.js#L11

I'm welcome to a PR that exports a wrapper component for this if you're looking for something to do 😉

Thanks @danawoodman! I'm pretty busy but if I get any time, I might.