This is my code I'm having this issue and have no solution of this kindly help me with this.
const editor = () => {
RNPhotoEditor.Edit({ --->issue is in this Edit function
path: RNFS.DocumentDirectoryPath + '/photo.jpg',
stickers: [
'sticker0',
'sticker1',
'sticker2',
'sticker3',
'sticker4',
'sticker5',
'sticker6',
'sticker7',
'sticker8',
'sticker9',
'sticker10',
],
colors: undefined,
onDone: () => {
console.log('on done');
},
onCancel: () => {
console.log('on cancel');
},
});
}
This is my code I'm having this issue and have no solution of this kindly help me with this.
const editor = () => { RNPhotoEditor.Edit({ --->issue is in this Edit function
path: RNFS.DocumentDirectoryPath + '/photo.jpg', stickers: [ 'sticker0', 'sticker1', 'sticker2', 'sticker3', 'sticker4', 'sticker5', 'sticker6', 'sticker7', 'sticker8', 'sticker9', 'sticker10', ], colors: undefined, onDone: () => { console.log('on done'); }, onCancel: () => { console.log('on cancel'); }, }); }