Icon
The icon components give you a simple way to use the available icon sets in Reaction with one component.
Import
import { Icon } from "/imports/plugins/core/ui/client/components";
Example
import React, { Component } from "react";
import { Icon } from "/imports/plugins/core/ui/client/components";
class MyComponent extends Component {
render() {
return (
<div>
{"Things in my component"}
<Icon icon="clock" />
<div>
);
}
}
Props
Property | Type | Description |
---|---|---|
icon | String | name of font awesome icon |