react-native-modern-elements
Version:
A modern, customizable UI component library for React Native
9 lines (8 loc) • 623 B
JavaScript
import * as React from "react";
import Svg, { Path } from "react-native-svg";
import { verticalScale } from "../../utils/styling";
const CancelIcon = (props) => (React.createElement(Svg, Object.assign({ width: verticalScale(24), height: verticalScale(24), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 1, strokeLinecap: "round", strokeLinejoin: "round" }, props),
React.createElement(Path, { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
React.createElement(Path, { d: "M18 6l-12 12" }),
React.createElement(Path, { d: "M6 6l12 12" })));
export default React.memo(CancelIcon);