UNPKG

react-native-modern-elements

Version:

A modern, customizable UI component library for React Native

11 lines (10 loc) 754 B
import * as React from "react"; import Svg, { ClipPath, Defs, G, Path, Rect } from "react-native-svg"; import { verticalScale } from "../../utils/styling"; const DownArrow = (props) => (React.createElement(Svg, Object.assign({ width: verticalScale(30), height: verticalScale(30), viewBox: "0 0 18 18", fill: "none" }, props), React.createElement(G, { clipPath: "url(#clip0_89_2133)" }, React.createElement(Path, { d: "M4.5 6.75L9 11.25L13.5 6.75", stroke: "#4C4C4C", strokeLinecap: "round", strokeLinejoin: "round" })), React.createElement(Defs, null, React.createElement(ClipPath, { id: "clip0_89_2133" }, React.createElement(Rect, { width: 18, height: 18, fill: "white" }))))); export default React.memo(DownArrow);