Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.45 KB

api.md

File metadata and controls

23 lines (19 loc) · 1.45 KB

FontAwesome : ReactClass

A React component for the font-awesome icon library.

Param Type Default Description
[ariaLabel] String An extra accessibility label to put on the icon
[border] Boolean false Whether or not to show a border radius
[className] String An extra set of CSS classes to add to the component
[cssModule] Object Option to pass FontAwesome CSS as a module
[fixedWidth] Boolean false Make buttons fixed width
[flip] String false Flip the icon's orientation.
[inverse] Boolean false Inverse the icon's color
[name] String Name of the icon to use
[pulse] Boolean false Rotate icon with 8 steps, rather than smoothly
[rotate] Number The degress to rotate the icon by
[size] String The icon scaling size
[spin] Boolean false Spin the icon
[stack] String Stack an icon on top of another. Arguments specify z-index such as '1x' See documentation for example http://fontawesome.io/examples/#stacked
[tag] String span The HTML tag to use as a string, eg 'i' or 'em'