react-feather
Version:
React component for Feather icons
56 lines (51 loc) • 1.22 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const BatteryCharging = 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="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19"
fill="none"
stroke={color}
strokeLinecap="round"
strokeMiterlimit="10"
strokeWidth="2"
/>
<line
x1="23"
y1="13"
x2="23"
y2="11"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<polyline
points="11 6 7 12 13 12 9 18"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
BatteryCharging.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
BatteryCharging.defaultProps = {
color: 'currentColor',
size: '24',
};
export default BatteryCharging;