react-feather
Version:
React component for Feather icons
51 lines (46 loc) • 955 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const Pause = 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}
>
<rect
x="6"
y="4"
width="4"
height="16"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<rect
x="14"
y="4"
width="4"
height="16"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
Pause.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Pause.defaultProps = {
color: 'currentColor',
size: '24',
};
export default Pause;