react-feather
Version:
React component for Feather icons
78 lines (73 loc) • 1.56 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const Shuffle = 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}
>
<polyline
points="16 3 21 3 21 8"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="4"
y1="20"
x2="21"
y2="3"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<polyline
points="21 16 21 21 16 21"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="15"
y1="15"
x2="21"
y2="21"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="4"
y1="4"
x2="9"
y2="9"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
Shuffle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Shuffle.defaultProps = {
color: 'currentColor',
size: '24',
};
export default Shuffle;