react-feather
Version:
React component for Feather icons
50 lines (45 loc) • 956 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const StopCircle = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
{...otherProps}
>
<circle
cx="12"
cy="12"
r="10"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<rect
x="9"
y="9"
width="6"
height="6"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
StopCircle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
StopCircle.defaultProps = {
color: 'currentColor',
size: '24',
};
export default StopCircle;