system-uicons/react/src/icons/warning_circle.js
2020-08-03 13:24:20 +08:00

47 lines
1.2 KiB
JavaScript

import React, { forwardRef } from 'react'
import PropTypes from 'prop-types'
const WarningCircle = 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}
>
<g fill="none" fillRule="evenodd">
<circle
cx="10.5"
cy="10.5"
r="8"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
></circle>
<path
d="m10.5 11.5v-5"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
></path>
<circle cx="10.5" cy="14.5" fill={color} r="1"></circle>
</g>
</svg>
)
}
)
WarningCircle.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
}
WarningCircle.displayName = 'WarningCircle'
export default WarningCircle