react-feather
Version:
React component for Feather icons
61 lines (56 loc) • 1.18 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const PauseCircle = 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"
/>
<line
x1="10"
y1="15"
x2="10"
y2="9"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="14"
y1="15"
x2="14"
y2="9"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
PauseCircle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
PauseCircle.defaultProps = {
color: 'currentColor',
size: '24',
};
export default PauseCircle;