react-native-svg-url
v1.0.2
Published
Yet another react-native package
Downloads
2
Readme
react-native-svg-url
Yet another react-native package
Status
- iOS & Android:
- ???
- react-native:
- supported versions ">= 0.62.2"
Installation
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
Android | iOS :---------------------------------------------:|:---------------------------------------------: ??? | ???
Example
import * as React from 'react'
import { View } from 'react-native'
import {
SvgUrl
} from 'react-native-svg-url'