@buffetjs/styles
Version:
Buffetjs Styles - The styling solution of Buffetjs
17 lines (15 loc) • 551 B
JavaScript
var _templateObject;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
/**
*
* Icon
*
*/
import styled from 'styled-components';
import PropTypes from 'prop-types';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
var Icon = styled(FontAwesomeIcon)(_templateObject || (_templateObject = _taggedTemplateLiteral([""])));
Icon.propTypes = {
icon: PropTypes.any.isRequired
};
export default Icon;