UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 784 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const Accessibility = ({ 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: "M11.000 2.000C12.100 2.000 13.000 2.900 13.000 4.000C13.000 5.100 12.100 6.000 11.000 6.000C9.900 6.000 9.000 5.100 9.000 4.000C9.000 2.900 9.900 2.000 11.000 2.000ZM20.000 9.000H14.000V22.000H12.000V16.000H10.000V22.000H8.000V9.000H2.000V7.000H20.000V9.000Z", fill: color }))); }; Accessibility.displayName = 'Accessibility';