1.0.5 • Published 5 years ago

react-native-kk-closest-point v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Closest-Point

This component is effective structure more than interactable component

Installation

$ npm install react-native-gesture-responder --save

$ npm install react-native-kk-closest-point --save

Usage

import ClosestScreen from 'react-native-kk-closest-point'
  items[];
 ... 
  <ClosestScreen
    data={items}                
    maxHeight={500} 
    minHeight={0}        
    renderItemWith={this.renderItem}        
    style={styles.closestScreen}          
    searchBarStyle={styles.searchBar}         
    searchBar={this.searchBarPress}            
    initialState={300}        
    scrollSpeed={2} 
    scrollStyle={styles.scroll}
    />

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.