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

47 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 InfoCircle = 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" fillRule="evenodd">
2020-08-03 06:49:52 +02:00
<circle
cx="10.5"
cy="10.5"
r="8"
2020-08-03 07:09:39 +02:00
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
2020-08-03 06:49:52 +02:00
></circle>
<path
d="m10.5 14.5v-4"
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="10.5" cy="7.5" fill={color} r="1"></circle>
2020-08-03 06:49:52 +02:00
</g>
</svg>
)
}
)
InfoCircle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
}
InfoCircle.displayName = 'InfoCircle'
export default InfoCircle