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** |
Find detailed use case in Examples section
render(){
return(
<HelixScroll
itemCount={7}
renderCard={index => {
return(
// return your custom component here
)
}} />
);
}