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

39 lines
1.1 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 CreditCard = 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="translate(2 5)" fillRule="evenodd">
2020-08-03 06:49:52 +02:00
<path
d="m2.5.5h12c1.1045695 0 2 .8954305 2 2v7c0 1.1045695-.8954305 2-2 2h-12c-1.1045695 0-2-.8954305-2-2v-7c0-1.1045695.8954305-2 2-2z"
2020-08-03 07:09:39 +02:00
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
2020-08-03 06:49:52 +02:00
></path>
2020-08-03 07:24:20 +02:00
<path d="m0 4h17v2h-17z" fill={color}></path>
2020-08-03 06:49:52 +02:00
</g>
</svg>
)
}
)
CreditCard.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
}
CreditCard.displayName = 'CreditCard'
export default CreditCard