story-group
This component can create a group of stories or published content related to a topic/theme. The user is met with an image and title that describes the topic. The story with further actions is presented when they tap on the image.
These stories are organized in a carousel, making it easy for the users to swipe through. There can be more than one story group, and users can go to the next story group by swiping left on the stories carousel on the Home Hub.
A story can either be an image or a video story. For more information on stories, see Stories
For your stories to be displayed on Home Hub you have to add the Jig to your index.jigx file
The images can be preloaded and cached by using the assets property in your index.jigx file. The images will be displayed even when you are offline. For more details please refer to the Index settings
Some properties are common to all components, see Common component properties for a list and their configuration options.
The core structure includes: data and item The item property has 2 options:
Other options:
Image item
uri - The source of the image
title and subtitle - The title or subtitle/ short description of the topic/image
Video item
url - The source of the video
thumbnailUri - The source of the image visible in stories
title and subtitle - The title or subtitle/ short description of the topic/video
ratio - There are 2 options:
- 16:9
- 3:4
Actions:
onPress - The possibility to add any of the actions (please refer to the list of our Actions). This action(s) will be triggered as a reaction to the press event