react-native-modern-elements
Version:
A modern, customizable UI component library for React Native
11 lines (10 loc) • 804 B
JavaScript
import * as React from "react";
import Svg, { G, Path, Defs, ClipPath, Rect } from "react-native-svg";
import { verticalScale } from "../../utils/styling";
const CheckboxIconSvg = (props) => (React.createElement(Svg, Object.assign({ width: verticalScale(20), height: verticalScale(20), viewBox: "0 0 20 20", fill: "none" }, props),
React.createElement(G, { clipPath: "url(#clip0_454_1503)" },
React.createElement(Path, { d: "M4.16675 9.99992L8.33341 14.1666L16.6667 5.83325", stroke: "#FFF", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })),
React.createElement(Defs, null,
React.createElement(ClipPath, { id: "clip0_454_1503" },
React.createElement(Rect, { width: 20, height: 20, fill: "white" })))));
export default React.memo(CheckboxIconSvg);