onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 861 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const SwitchRight = ({ 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: "M13.667 15.756V6.022L19.644 9.778L15.889 13.533ZM14.222 17.556L22.000 9.778L14.222 2.000V19.778ZM7.556 19.778V2.000L2.000 9.778L9.778 17.556Z", fill: color }),
React.createElement(Path, { d: "M3.341 21.117V17.761L5.873 18.585L5.049 19.410ZM4.683 20.293L6.390 18.585L4.683 16.878V22.000ZM2.000 22.000V16.878L2.000 18.585L3.707 20.293Z", fill: color })));
};
SwitchRight.displayName = 'SwitchRight';