wcchimiiz-show-case-v2
v1.6.2
Published
<p align="center"> <a href="https://www.npmjs.com/package/wcchimiiz-show-case-v2"><img src="http://img.shields.io/npm/v/wcchimiiz-show-case-v2.svg?style=flat" /></a> <a href="https://github.com/WCChimiiz/react-native-WcShowCaseV2/pulls"><img alt="PRs
Downloads
17
Readme
wcchimiiz-show-case-v2
This library is a React Native bridge around native libraries. It allows show/guide beautiful tours:
| Android: KeepSafe/TapTargetView | | ----------------- | | |
| iOS: aromajoin/material-showcase-ios | | ----------------- | |
Getting started
$ npm install wcchimiiz-show-case-v2 --save
$ react-native link wcchimiiz-show-case-v2
- Android
- in ./android/app/src/build.gradle
android { compileSdkVersion 25 buildToolsVersion "25.0.2" . . . }
- in ./android/app/src/build.gradle
- iOS
- Add aromajoin/material-showcase-ios in Embedded Binaries & Linked Frameworks and Libraries. You can find this library from below path:
- Please find below screenshot reference for the same
Usage
import {AppTour, AppTourSequence, AppTourView} from 'wcchimiiz-show-case-v2';
Props
- title #String
- description #String
- titleTextSize #String(0 - 100)
- descriptionTextSize #String(0 - 100)
- titleTextColor #hexCodeRGB
- targetHolderColor #hexCodeRGB
- descriptionTextColor #hexCodeRGB
- outerCircleColor #hexCodeRGB
- outerCircleAlpha #String(0.00 - 1.00)
- targetRadius #String(0 - 100)
- transparentTarget #Bool
- buttonText #String
- buttonTextColor #hexCodeRGB
- buttonBGColor #hexCodeRGB
- buttonRadius #String(0 - 100)
- buttonVisable #Bool
- buttonTextSize #String(0 - 100)