Use the following figure to add the Story property to your application.
Import the
RDStoryView
property.import { RDStoryView } from 'react-native-related-digital'
Add the code below.
actionId
: The value of the actionid parameter in the url where you created the story property in the RMC panel. If you don't send this parameter, it will fetch the last story defined in your account.<RDStoryView actionId={'1'} // opsiyonel onItemClicked={(data) => { console.log('Story data', data) }} style={{ flex: 1 }} />