react-feather
Version:
React component for Feather icons
80 lines (75 loc) • 1.66 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const Slack = 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}
>
<path
d="M22.08 9C19.81 1.41 16.54-.35 9 1.92S-.35 7.46 1.92 15 7.46 24.35 15 22.08 24.35 16.54 22.08 9z"
fill="none"
stroke={color}
strokeMiterlimit="10"
strokeWidth="2"
/>
<line
x1="12.57"
y1="5.99"
x2="16.15"
y2="16.39"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeMiterlimit="10"
strokeWidth="2"
/>
<line
x1="7.85"
y1="7.61"
x2="11.43"
y2="18.01"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeMiterlimit="10"
strokeWidth="2"
/>
<line
x1="16.39"
y1="7.85"
x2="5.99"
y2="11.43"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeMiterlimit="10"
strokeWidth="2"
/>
<line
x1="18.01"
y1="12.57"
x2="7.61"
y2="16.15"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeMiterlimit="10"
strokeWidth="2"
/>
</svg>
);
};
Slack.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Slack.defaultProps = {
color: 'currentColor',
size: '24',
};
export default Slack;