Icon(icon: String, size: String? = null, rotate: Number? = null, fixedWidth: Boolean? = null, spin: Boolean? = null, classes: Set<String> = setOf(), init: (Icon.() -> Unit)? = null)
Creates an icon component.
rotate - a number of degrees to rotate the icon - valid values are 90, 180 and 270
fixedWidth - whether the icons to have the same width
spin - whether the icon should be spinning
classes - a set of CSS class names
init - an initializer extension function
Constructor
Creates an icon component.