onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 952 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const ErrorOutline = ({ size = 'md', color = 'currentColor', 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", style: style },
React.createElement(Path, { d: "M11.000 15.000H13.000V17.000H11.000V15.000ZM11.000 7.000H13.000V13.000H11.000V7.000ZM11.990 2.000C6.470 2.000 2.000 6.480 2.000 12.000C2.000 17.520 6.470 22.000 11.990 22.000C17.520 22.000 22.000 17.520 22.000 12.000C22.000 6.480 17.520 2.000 11.990 2.000ZM12.000 20.000C7.580 20.000 4.000 16.420 4.000 12.000C4.000 7.580 7.580 4.000 12.000 4.000C16.420 4.000 20.000 7.580 20.000 12.000C20.000 16.420 16.420 20.000 12.000 20.000Z", fill: color })));
};
ErrorOutline.displayName = 'ErrorOutline';