Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{({ isTablet }) => (
caption && caption.text &&
}
style={[styles.leadAsset, isTablet && styles.leadAssetTablet]}
width={width}
/>{({ isTablet }) => (
}
style={[
styles.leadAssetContainer,
isTablet && styles.leadAssetContainerTablet,
isTablet && styles.tabletContainer
]}
width={Math.min(width, tabletWidth)}
/>
)}textColour
} = article;
return (
}
style={styles.leadAsset}
width={width}
/>
);
}} = article;
return (
}
style={styles.leadAssetContainer}
width={width}
/>
);
}{({ isTablet }) => {
const leadAsset = (
);
const header = (return (
}
style={styles.leadAssetContainer}
width={width}
/>
);
}}
style={[
styles.leadAssetContainer,
isTablet && styles.leadAssetContainerTablet
]}
width={Math.min(width, tabletWidth)}
/>
)}