react-feather
Version:
React component for Feather icons
47 lines (42 loc) • 933 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const PlayCircle = 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"
/>
<polygon
points="10 8 16 12 10 16 10 8"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
PlayCircle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
PlayCircle.defaultProps = {
color: 'currentColor',
size: '24',
};
export default PlayCircle;