onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
12 lines (11 loc) • 1.66 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const DirectionsBusFilled = ({ 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: "M12.526 2.000C8.316 2.000 4.105 2.526 4.105 6.211V16.211C4.105 17.211 4.505 18.116 5.158 18.779V20.947C5.158 21.526 5.632 22.000 6.211 22.000H7.263C7.842 22.000 8.316 21.526 8.316 20.947V19.895H16.737V20.947C16.737 21.526 17.211 22.000 17.789 22.000H18.842C19.421 22.000 19.895 21.526 19.895 20.947V18.779C20.547 18.116 20.947 17.211 20.947 16.211V6.211C20.947 2.526 17.179 2.000 12.526 2.000ZM12.526 4.105C16.432 4.105 17.926 4.589 18.495 5.158H6.663C7.295 4.611 8.821 4.105 12.526 4.105ZM18.842 15.684C18.842 16.842 17.895 17.789 16.737 17.789H8.316C7.158 17.789 6.211 16.842 6.211 15.684V12.526H18.842V15.684ZM18.842 10.421H6.211V7.263H18.842V10.421Z", fill: color }),
React.createElement(Path, { d: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }),
React.createElement(Path, { d: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color })));
};
DirectionsBusFilled.displayName = 'DirectionsBusFilled';