UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.22 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const Feedback = ({ 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: "M20.000 2.000H4.000C2.900 2.000 2.010 2.900 2.010 4.000L2.000 22.000L6.000 18.000H20.000C21.100 18.000 22.000 17.100 22.000 16.000V4.000C22.000 2.900 21.100 2.000 20.000 2.000ZM20.000 16.000H5.170L4.580 16.590L4.000 17.170V4.000H20.000V16.000ZM11.000 12.000H13.000V14.000H11.000V12.000ZM11.000 6.000H13.000V10.000H11.000V6.000Z", fill: color }), React.createElement(Path, { d: "M5.810 17.714H2.000C2.214 17.238 2.002 17.452 2.002 17.714L2.000 22.000L2.952 21.048H6.286C6.071 21.524 6.286 21.309 6.286 21.048V17.714C6.762 17.452 6.548 17.238 6.286 17.238ZM6.286 20.571H2.755L2.138 21.188L2.000 21.326V17.714H6.286V20.571ZM4.143 19.619H4.619V20.095H4.143V19.619ZM4.143 18.190H4.619V19.143H4.143V18.190Z", fill: color }))); }; Feedback.displayName = 'Feedback';