react-native-embed-instagram
react-native-embed-instagram copied to clipboard
Can not set style height
I try to set style height like this, but it is not work
<InstagramEmbed
id="CB4kA1igV-d"
style={{ width: '100%', height: 50 }}
showAvatar={true}
renderCaption={(caption) => {
console.log('Caption ', caption);
<Text numberOfLines={1} style={{ width: '100%' }}>
{caption}
</Text>;
}}
showCaption={true}
/>