add last minute tweaks found while writing docs
This commit is contained in:
parent
ab22ebc967
commit
3bc98bc3a6
15 changed files with 45 additions and 15 deletions
10
imports/ui/components/Icon/Icon.js
Normal file
10
imports/ui/components/Icon/Icon.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const Icon = ({ icon }) => (<i className={`fa fa-${icon}`} />);
|
||||
|
||||
Icon.propTypes = {
|
||||
icon: PropTypes.string.isRequired,
|
||||
};
|
||||
|
||||
export default Icon;
|
||||
Loading…
Add table
Add a link
Reference in a new issue