onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
12 lines (11 loc) • 1.03 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const DriveFileRenameOutline = ({ 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.693 15.534C22.000 14.228 22.000 12.117 20.693 10.811L12.854 2.972C12.184 2.302 11.347 2.000 10.476 2.000C9.638 2.000 8.767 2.335 8.131 2.972L2.000 9.102L14.563 21.665L20.693 15.534Z", fill: color }),
React.createElement(Path, { d: "M12.659 2.518L2.000 13.176V22.000H2.000L17.071 6.929L12.659 2.518ZM5.435 15.235H4.353V14.153L12.659 5.847L13.741 6.929L5.435 15.235Z", fill: color }),
React.createElement(Path, { d: "M10.000 2.000L2.000 10.000H22.000V2.000H10.000Z", fill: color })));
};
DriveFileRenameOutline.displayName = 'DriveFileRenameOutline';