Socket
Book a DemoInstallSign in
Socket

react-native-view-finder

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

react-native-view-finder

A flexible little View Finder component to be used in conjunction with react-native-camera

unpublished
Source
npmnpm
Version
1.2.2
Version published
Weekly downloads
10
233.33%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-view-finder

A flexible little View Finder component to be used in conjunction with react-native-camera

npm package version npm downloads standard JS linter prettier code formatting Greenkeeper travis ci build status project license make a pull request


Built with ❤︎ by tiaanduplessis and contributors

Table of Contents

Table of Contents
  • Install
  • Usage
  • Contribute
  • License
  • Install

    $ npm install react-native-view-finder
    # OR
    $ yarn add react-native-view-finder
    

    Usage

    import {View, StyleSheet} from 'react-native'
    import ViewFinder from 'react-native-view-finder'
    
    const Example = () => (
      <View style={styles.container}>
        <ViewFinder backgroundColor="#333" loading />
      </View>
    )
    
    const styles = StyleSheet.create({
      container: { flex: 1 }
    })
    

    This will result in:

    Props

    PropDescriptionTypeDefualt
    containerStyleArray Container StylesArray{}
    backgroundColorString for Background color of View Finder.Stringtransparent
    colorString for Color of the View finder edgesString#FFF
    heightNumber for Height of View FinderNumber200
    widthNumber for Width of View FinderNumber#200
    borderWidthNumber for Border with of View Finder edgesNumber3
    borderRadiusNumber for Border Radius of View Finder edgesNumber0
    borderLength Number for Border length of View Finder edgesNumber25
    loadingBool for the indicate if loading indicator should be shownBoolfalse
    loadingColorString for Color of the loading indicatorString#FFF
    loadingBelowVFBool for the indicate if loading indicator should be shown under View FinderBoolfalse

    Contributing

    Contributions are welcome!

    • Fork it.
    • Create your feature branch: git checkout -b my-new-feature
    • Commit your changes: git commit -am 'Add some feature'
    • Push to the branch: git push origin my-new-feature
    • Submit a pull request :D

    Or open up a issue.

    License

    Licensed under the MIT License.

    FAQs

    Package last updated on 24 Nov 2025

    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