onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 694 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const HorizontalSplit = ({ 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.778 13.111V17.556H2.000V15.333H17.556ZM22.000 2.000H2.000V4.222H22.000V2.000ZM22.000 6.444H2.000V8.667H22.000V6.444ZM22.000 10.889H2.000V17.556H22.000V10.889Z", fill: color })));
};
HorizontalSplit.displayName = 'HorizontalSplit';