UNPKG

@pinuts/bsr-uikit-relaunch

Version:

BSR UI-KIT Relaunch

52 lines (48 loc) 2 kB
import React from 'react'; import PropTypes from 'prop-types'; import Icon40PropValues from '../_defaultIconPropValues.ts'; const Alert = (props) => { const { width = Icon40PropValues.width, height = Icon40PropValues.height, fill = Icon40PropValues.fill, stroke = Icon40PropValues.stroke, ...restProps } = props; return ( <svg width={width} height={height} {...restProps} className={props.className} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M12 23C10.485 23 9.25 21.765 9.25 20.25C9.25 18.735 10.485 17.5 12 17.5C13.515 17.5 14.75 18.735 14.75 20.25C14.75 21.765 13.515 23 12 23ZM12 19C11.31 19 10.75 19.56 10.75 20.25C10.75 20.94 11.31 21.5 12 21.5C12.69 21.5 13.25 20.94 13.25 20.25C13.25 19.56 12.69 19 12 19Z" fill={fill} stroke={stroke} strokeWidth="0.2" /> <path d="M12.565 17H11.44C10.535 17 9.78001 16.305 9.72001 15.415L8.85501 2.81C8.82501 2.35 8.98501 1.89 9.30501 1.55C9.63001 1.2 10.095 1 10.575 1H13.43C13.91 1 14.375 1.2 14.7 1.55C15.02 1.89 15.18 2.35 15.15 2.81L14.285 15.415C14.225 16.305 13.47 17 12.565 17ZM10.575 2.455C10.465 2.455 10.4 2.51 10.37 2.54C10.34 2.575 10.3 2.63 10.305 2.71L11.17 15.315C11.18 15.445 11.295 15.545 11.44 15.545H12.565C12.705 15.545 12.825 15.445 12.835 15.315L13.7 2.71C13.705 2.63 13.67 2.575 13.635 2.54C13.605 2.51 13.535 2.455 13.43 2.455H10.575Z" fill={fill} stroke={stroke} strokeWidth="0.2" /> </svg> ); }; Alert.propTypes = { width: PropTypes.string, height: PropTypes.string, fill: PropTypes.string, stroke: PropTypes.string, className: PropTypes.string, }; export default Alert;