HelixScrollView-React-Native
HelixScrollView-React-Native copied to clipboard
Helical ScrollView for React-Native
Husna
Helical-ScrollView-React-Native(iOS + Android)
Props
| Name | isRequired | Type | Description |
|---|---|---|---|
| itemCount | YES | Integer | No of card components to be rendered |
| renderCard | YES | Function callback | Render card component callback. Carries index of card. |
| backgroundImage | NO | String | URI of background image of content container |
| contentContainerStyle | NO | style | To add style to the content container, **along with other ScrollView props** |
Usage
Find detailed use case in Examples section
render(){
return(
<HelixScroll
itemCount={7}
renderCard={index => {
return(
// return your custom component here
)
}} />
);
}