Skip to content

mevlanBatusha/react-native-material-showcase-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Material Showcase iOS

React Native Bridge for aromajoin/material-showcase-ios

Before we dive into on how to use this library. We would like to thank all the contributor of aromajoin/material-showcase-ios for providing such a awesome nice, cool library

Video 1

Installation

  • $ npm install react-native-material-showcase-ios --save

  • $ react-native link react-native-material-showcase-ios

  • Add material-showcase-ios in Embedded Binaries & Linked Frameworks and Libraries. You can find this library from below path:

node_modules/react-native-material-showcase-ios/ios/material-showcase-ios/MaterialShowcase.xcodeproj

Please find below screenshot reference for the same:

Video 1

API's

  • MaterialShowcase.forView: MaterialShowcaseTarget
let materialShowcaseTarget = MaterialShowcase.forView(Button, {
    title: 'This is a target button 1',
    description: 'We have the best targets, believe me'
})

MaterialShowcaseView.ShowFor(materialShowcaseTarget)
  • MaterialShowcaseSequence
    • add(MaterialShowcaseTarget)
    • remove(MaterialShowcaseTarget)
    • removeAll
    • get(MaterialShowcaseTarget)
    • getAll
let materialShowcaseSequence = new MaterialShowcaseSequence()
this.materialShowcaseTargets.forEach(materialShowcaseTarget => {
materialShowcaseSequence.add(materialShowcaseTarget)
})

MaterialShowcaseView.ShowSequence(materialShowcaseSequence)
  • MaterialShowcaseView
    • ShowFor(MaterialShowcaseTarget)
    • ShowSequence(MaterialShowcaseTargets)

Contribution

Any type of contribution will be very much appreciated

License

Copyright @2017 Pranav Raj Singh Chauhan

The React Native Material Showcase iOS is provided under the MIT License.

About

React Native Bridge for aromajoin/material-showcase-ios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published