UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.18 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const HelpOutline = ({ 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 18.000H13.000V16.000H11.000V18.000ZM12.000 2.000C6.480 2.000 2.000 6.480 2.000 12.000C2.000 17.520 6.480 22.000 12.000 22.000C17.520 22.000 22.000 17.520 22.000 12.000C22.000 6.480 17.520 2.000 12.000 2.000ZM12.000 20.000C7.590 20.000 4.000 16.410 4.000 12.000C4.000 7.590 7.590 4.000 12.000 4.000C16.410 4.000 20.000 7.590 20.000 12.000C20.000 16.410 16.410 20.000 12.000 20.000ZM12.000 6.000C9.790 6.000 8.000 7.790 8.000 10.000H10.000C10.000 8.900 10.900 8.000 12.000 8.000C13.100 8.000 14.000 8.900 14.000 10.000C14.000 12.000 11.000 11.750 11.000 15.000H13.000C13.000 12.750 16.000 12.500 16.000 10.000C16.000 7.790 14.210 6.000 12.000 6.000Z", fill: color }))); }; HelpOutline.displayName = 'HelpOutline';