UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

9 lines (8 loc) 1.12 kB
import React from 'react'; export const NotificationImportant = ({ size = 'md', color = 'currentColor', className, style, }) => { const sizeMap = { xs: 16, sm: 20, md: 24, lg: 32, xl: 40 }; const iconSize = typeof size === 'number' ? size : sizeMap[size]; return (React.createElement("svg", { width: iconSize, height: iconSize, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: style }, React.createElement("path", { d: "M9.916 20.149C9.916 21.172 10.744 22.000 11.767 22.000C12.791 22.000 13.619 21.172 13.619 20.149H9.916ZM11.767 6.186C14.335 6.186 16.419 8.270 16.419 10.837V17.349H7.116V10.837C7.116 8.270 9.200 6.186 11.767 6.186ZM11.767 2.000C10.995 2.000 10.372 2.623 10.372 3.395V4.484C7.451 5.116 5.256 7.721 5.256 10.837V16.419L3.395 18.279V19.209H20.140V18.279L18.279 16.419V10.837C18.279 7.721 16.084 5.116 13.163 4.484V3.395C13.163 2.623 12.540 2.000 11.767 2.000ZM10.837 8.047H12.698V11.767H10.837V8.047ZM10.837 13.628H12.698V15.488H10.837V13.628Z", fill: color }))); }; NotificationImportant.displayName = 'NotificationImportant';