UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 844 B
import React from 'react'; export const ArrowDownward = ({ 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: "M22.000 12.000L20.238 10.238L13.250 17.213V2.000H10.750V17.213L3.775 10.225L2.000 12.000L12.000 22.000L22.000 12.000Z", fill: color }), React.createElement("path", { d: "M3.791 20.933L3.430 20.572L2.000 22.000V16.584H3.791V19.697L2.363 18.267L2.000 18.630L4.047 20.677L6.094 18.630Z", fill: color }))); }; ArrowDownward.displayName = 'ArrowDownward';