UNPKG

@expo/styleguide-native

Version:

Foundational styles for Expo interfaces.

33 lines (32 loc) 1.93 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; Object.defineProperty(exports, "__esModule", { value: true }); const React = __importStar(require("react")); const react_native_svg_1 = __importStar(require("react-native-svg")); function RefreshIcon(props) { const { size, color, width, height } = props; return (React.createElement(react_native_svg_1.default, Object.assign({ width: size || width || 20, height: size || height || 20, viewBox: "0 0 20 20", fill: "none" }, props), React.createElement(react_native_svg_1.Path, { d: "M17.143 9.524v-.762a4 4 0 00-4-4H6.667", stroke: color || "#000", strokeWidth: 2, strokeLinecap: "round" }), React.createElement(react_native_svg_1.Path, { d: "M7.619 9.524V0L0 4.535l7.619 4.989z", fill: color || "#000" }), React.createElement(react_native_svg_1.Path, { d: "M2.857 10.476v.762a4 4 0 004 4h6.476", stroke: color || "#000", strokeWidth: 2, strokeLinecap: "round" }), React.createElement(react_native_svg_1.Path, { d: "M12.381 10.476V20L20 15.465l-7.619-4.989z", fill: color || "#000" }))); } exports.default = RefreshIcon;