Uygulamanıza Story özelliğini eklemek için alttaki şekilde kullanın.
RDStoryView
özelliğini import edin.import { RDStoryView } from 'react-native-related-digital'
Alttaki kodu ekleyin.
actionId
: RMC panelinde story özelliğini oluşturduğunuz url’deki actionid parametresinin değeri. Eğer bu parametreyi göndermezseniz hesabınızda tanımlanmış en son story’i getirecektir.<RDStoryView actionId={'1'} // opsiyonel onItemClicked={(data) => { console.log('Story data', data) }} style={{ flex: 1 }} />