onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.09 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Tv = ({ 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: "M20.182 3.818H3.818C2.818 3.818 2.000 4.636 2.000 5.636V16.545C2.000 17.545 2.818 18.364 3.818 18.364H8.364V20.182H15.636V18.364H20.182C21.182 18.364 21.991 17.545 21.991 16.545L22.000 5.636C22.000 4.636 21.182 3.818 20.182 3.818ZM20.182 16.545H3.818V5.636H20.182V16.545Z", fill: color }),
React.createElement(Path, { d: "M6.651 17.814H2.465C2.209 17.814 2.000 18.023 2.000 18.279V21.070C2.000 21.326 2.209 21.535 2.465 21.535H3.628V22.000H5.488V21.535H6.651C6.907 21.535 7.114 21.326 7.114 21.070L7.116 18.279C7.116 18.023 6.907 17.814 6.651 17.814ZM6.651 21.070H2.465V18.279H6.651V21.070Z", fill: color })));
};
Tv.displayName = 'Tv';