onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.26 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const AccountBalanceWallet = ({ 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.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: "M20.947 6.505V4.105C20.947 2.947 20.000 2.000 18.842 2.000H4.105C2.937 2.000 2.000 2.947 2.000 4.105V18.842C2.000 20.000 2.937 20.947 4.105 20.947H18.842C20.000 20.947 20.947 20.000 20.947 18.842V16.442C21.568 16.074 22.000 15.411 22.000 14.632V8.316C22.000 7.537 21.568 6.874 20.947 6.505ZM19.895 8.316V14.632H12.526V8.316H19.895ZM4.105 18.842V4.105H18.842V6.211H12.526C11.368 6.211 10.421 7.158 10.421 8.316V14.632C10.421 15.789 11.368 16.737 12.526 16.737H18.842V18.842H4.105Z", fill: color })));
};
AccountBalanceWallet.displayName = 'AccountBalanceWallet';