You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

react-native-svg-url

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-svg-url

Yet another react-native package

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

react-native-svg-url

npm version CircleCI js-standard-style Dependency Status devDependencies Status typings included npm

Yet another react-native package

Status

  • iOS & Android:
    • ???
  • react-native:
    • supported versions ">= 0.62.2"

Installation

with react-native ">=0.62.2"

0. Setup Swift and Kotlin

  • Open your iOS project in Xcode and create empty Swift file and bridging header to enable Swift support

  • Modify android/build.gradle:

    buildscript {
      ext {
        ...
    +   kotlinVersion = "1.3.72"
      }
    ...
    
      dependencies {
    +   classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
        ...
    

1. Install latest version from npm

$ npm i react-native-svg-url -S

2. Install pods

$ cd ios && pod install && cd ..

Demo

AndroidiOS
??????

Example

import * as React from 'react'
import { View } from 'react-native'
import {
  SvgUrl
} from 'react-native-svg-url'

Reference

proptypedefaultdesc
colorstring'red'-

Keywords

react-native

FAQs

Package last updated on 10 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts