import classNames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import stopAllIcon from './icon--stop-all.svg'; import styles from './stop-all.css'; const StopAllComponent = function (props) { const { active, className, onClick, title, ...componentProps } = props; return ( ); }; StopAllComponent.propTypes = { active: PropTypes.bool, className: PropTypes.string, onClick: PropTypes.func.isRequired, title: PropTypes.string }; StopAllComponent.defaultProps = { active: false, title: 'Stop' }; export default StopAllComponent;