system-uicons/react/src/icons/printer.js

45 lines
1.4 KiB
JavaScript
Raw Normal View History

2020-08-03 06:49:52 +02:00
import React, { forwardRef } from 'react'
import PropTypes from 'prop-types'
2020-08-03 07:09:39 +02:00
2020-08-03 06:49:52 +02:00
const Printer = forwardRef(
({ color = 'currentColor', size = 21, ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 21 21"
fill="none"
stroke={color}
strokeWidth="1"
strokeLinecap="round"
strokeLinejoin="round"
{...rest}
>
2020-08-03 07:09:39 +02:00
<g fill="none" transform="matrix(0 -1 1 0 2 19)" fillRule="evenodd">
2020-08-03 06:49:52 +02:00
<path
d="m3.5 4.38378906v-1.89752528c0-1.1045695.8954305-2 2-2h4c1.1045695 0 2 .8954305 2 2v12.01373622c0 1.1045695-.8954305 2-2 2h-4c-1.1045695 0-2-.8954305-2-2v-2"
2020-08-03 07:09:39 +02:00
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
2020-08-03 06:49:52 +02:00
></path>
<path
d="m1.5 4.5h5.0013251v8h-5.0013251c-.55228475 0-1-.4477153-1-1v-6c0-.55228475.44771525-1 1-1zm11.5 0h2.5c.5522847 0 1 .44771525 1 1v6c0 .5522847-.4477153 1-1 1h-2.5"
2020-08-03 07:24:20 +02:00
stroke={color}
2020-08-03 07:09:39 +02:00
strokeLinecap="round"
strokeLinejoin="round"
2020-08-03 06:49:52 +02:00
></path>
2020-08-03 07:24:20 +02:00
<circle cx="9" cy="14" fill={color} r="1"></circle>
2020-08-03 06:49:52 +02:00
</g>
</svg>
)
}
)
Printer.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
}
Printer.displayName = 'Printer'
export default Printer