onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.46 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const BrightnessHigh = ({ 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 6.695C9.073 6.695 6.695 9.073 6.695 12.000C6.695 14.927 9.073 17.305 12.000 17.305C14.927 17.305 17.305 14.927 17.305 12.000C17.305 9.073 14.927 6.695 12.000 6.695ZM12.000 15.537C10.046 15.537 8.463 13.954 8.463 12.000C8.463 10.046 10.046 8.463 12.000 8.463C13.954 8.463 15.537 10.046 15.537 12.000C15.537 13.954 13.954 15.537 12.000 15.537Z", 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 })));
};
BrightnessHigh.displayName = 'BrightnessHigh';