add last minute tweaks found while writing docs

This commit is contained in:
cleverbeagle 2017-06-13 08:12:26 -05:00
parent ab22ebc967
commit 3bc98bc3a6
15 changed files with 45 additions and 15 deletions

View 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;