onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 682 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const SubdirectoryArrowRight = ({ 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: "M19.647 14.941L12.588 22.000L10.918 20.329L15.141 16.118H2.000V2.000H4.353V13.765H15.141L10.918 9.553L12.588 7.882L19.647 14.941Z", fill: color })));
};
SubdirectoryArrowRight.displayName = 'SubdirectoryArrowRight';