UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.45 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const Brightness7 = ({ 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.073 9.073V4.927H14.927L12.000 2.000L9.073 4.927H4.927V9.073L2.000 12.000L4.927 14.927V19.073H9.073L12.000 22.000L14.927 19.073H19.073V14.927L22.000 12.000L19.073 9.073ZM17.305 14.193V17.305H14.193L12.000 19.498L9.807 17.305H6.695V14.193L4.502 12.000L6.695 9.807V6.695H9.807L12.000 4.502L14.193 6.695H17.305V9.807L19.498 12.000L17.305 14.193ZM12.000 7.137C9.321 7.137 7.137 9.321 7.137 12.000C7.137 14.679 9.321 16.863 12.000 16.863C14.679 16.863 16.863 14.679 16.863 12.000C16.863 9.321 14.679 7.137 12.000 7.137ZM12.000 15.095C10.294 15.095 8.905 13.706 8.905 12.000C8.905 10.294 10.294 8.905 12.000 8.905C13.706 8.905 15.095 10.294 15.095 12.000C15.095 13.706 13.706 15.095 12.000 15.095Z", 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 }))); }; Brightness7.displayName = 'Brightness7';