import PropTypes from 'prop-types'; import React from 'react'; import Icon from 'Components/Icon'; import Link from './Link'; import styles from './IconButton.css'; function IconButton(props) { const { className, iconClassName, name, kind, size, isSpinning, ...otherProps } = props; return ( ); } IconButton.propTypes = { className: PropTypes.string.isRequired, iconClassName: PropTypes.string, kind: PropTypes.string, name: PropTypes.object.isRequired, size: PropTypes.number, isSpinning: PropTypes.bool }; IconButton.defaultProps = { className: styles.button }; export default IconButton;