Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
iconFamily="Font-Awesome"
iconColor={theme.COLORS.WHITE}
iconSize={theme.SIZES.BASE * 1.625}
color={theme.COLORS.FACEBOOK}
style={[styles.social, styles.shadow]}
/>
<img style="{{">
<img style="{{">
<button color="{materialTheme.COLORS.BUTTON_COLOR}" style="{styles.button}"> navigation.navigate('Home')}>
GET PRO VERSION
</button>
render() {
return (
{this.renderArticles()}
);
}
}
const styles = StyleSheet.create({
home: {
width: width,
},
articles: {
width: width - theme.SIZES.BASE * 2,
paddingVertical: theme.SIZES.BASE,
},
});
export default Home;
export default withNavigation(Header);
const styles = StyleSheet.create({
button: {
padding: 12,
position: 'relative',
},
title: {
width: '100%',
fontSize: 16,
fontWeight: 'bold',
},
navbar: {
paddingVertical: 0,
paddingBottom: theme.SIZES.BASE * 1.5,
paddingTop: iPhoneX ? theme.SIZES.BASE * 4 : theme.SIZES.BASE,
zIndex: 5,
},
shadow: {
backgroundColor: theme.COLORS.WHITE,
shadowColor: 'black',
shadowOffset: { width: 0, height: 2 },
shadowRadius: 6,
shadowOpacity: 0.2,
elevation: 3,
},
notify: {
backgroundColor: materialTheme.COLORS.LABEL,
borderRadius: 4,
height: theme.SIZES.BASE / 2,
width: theme.SIZES.BASE / 2,
position: 'absolute',
},
inputSuccess: {
borderBottomColor: materialTheme.COLORS.SUCCESS,
},
inputWarning: {
borderBottomColor: materialTheme.COLORS.WARNING,
},
inputDanger: {
borderBottomColor: materialTheme.COLORS.ERROR,
},
imageBlock: {
overflow: 'hidden',
borderRadius: 4,
},
rows: {
height: theme.SIZES.BASE * 2,
},
social: {
width: theme.SIZES.BASE * 3.5,
height: theme.SIZES.BASE * 3.5,
borderRadius: theme.SIZES.BASE * 1.75,
justifyContent: 'center',
},
category: {
backgroundColor: theme.COLORS.WHITE,
marginVertical: theme.SIZES.BASE / 2,
borderWidth: 0,
},
categoryTitle: {
height: '100%',
paddingHorizontal: theme.SIZES.BASE,
backgroundColor: 'rgba(0, 0, 0, 0.5)',
);
}
return (
<button>{children}</button>
);
}
}
const styles = StyleSheet.create({
gradient: {
borderWidth: 0,
borderRadius: theme.SIZES.BASE * 2,
},
});
}
}
const styles = StyleSheet.create({
container: {
backgroundColor: theme.COLORS.BLACK
},
padded: {
paddingHorizontal: theme.SIZES.BASE * 2,
position: "relative",
bottom: theme.SIZES.BASE,
zIndex: 2,
},
button: {
width: width - theme.SIZES.BASE * 4,
height: theme.SIZES.BASE * 3,
shadowRadius: 0,
shadowOpacity: 0
},
logo: {
width: 200,
height: 60,
zIndex: 2,
position: 'relative',
marginTop: '-50%'
},
title: {
marginTop:'-5%'
},
subTitle: {
marginTop: 20
}
borderRadius: 0,
borderWidth: 0,
height: 24,
elevation: 0,
},
tabTitle: {
lineHeight: 19,
fontWeight: '300'
},
divider: {
borderRightWidth: 0.3,
borderRightColor: theme.COLORS.MUTED,
},
products: {
width: width - theme.SIZES.BASE * 2,
paddingVertical: theme.SIZES.BASE * 2,
},
});
zIndex: 2
},
pro: {
backgroundColor: materialTheme.COLORS.LABEL,
paddingHorizontal: 6,
marginRight: theme.SIZES.BASE / 2,
borderRadius: 4,
height: 19,
width: 38,
},
seller: {
marginRight: theme.SIZES.BASE / 2,
},
options: {
position: 'relative',
padding: theme.SIZES.BASE,
marginHorizontal: theme.SIZES.BASE,
marginTop: -theme.SIZES.BASE * 7,
borderTopLeftRadius: 13,
borderTopRightRadius: 13,
backgroundColor: theme.COLORS.WHITE,
shadowColor: 'black',
shadowOffset: { width: 0, height: 0 },
shadowRadius: 8,
shadowOpacity: 0.2,
zIndex: 2,
},
thumb: {
borderRadius: 4,
marginVertical: 4,
alignSelf: 'center',
width: thumbMeasure,
renderButtons = () => {
return (
<button style="{styles.button}" color="default">
DEFAULT
</button>
<button style="{styles.button}" color="secondary">
SECONDARY
</button>
<button style="{styles.button}">PRIMARY</button>