Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
);
}
}
Card.propTypes = {
item: PropTypes.object,
horizontal: PropTypes.bool,
full: PropTypes.bool,
ctaColor: PropTypes.string,
imageStyle: PropTypes.any,
}
const styles = StyleSheet.create({
card: {
backgroundColor: theme.COLORS.WHITE,
marginVertical: theme.SIZES.BASE,
borderWidth: 0,
minHeight: 114,
marginBottom: 16
},
cardTitle: {
flex: 1,
flexWrap: 'wrap',
paddingBottom: 6
},
cardDescription: {
padding: theme.SIZES.BASE / 2
},
imageContainer: {
borderRadius: 3,
elevation: 1,
);
}
}
const styles = StyleSheet.create({
defaultStyle: {
paddingVertical: 15,
paddingHorizontal: 14
},
activeStyle: {
backgroundColor: argonTheme.COLORS.ACTIVE,
borderRadius: 4
},
shadow: {
shadowColor: theme.COLORS.BLACK,
shadowOffset: {
width: 0,
height: 2
},
shadowRadius: 8,
shadowOpacity: 0.1
}
});
export default DrawerItem;
},
tab: {
backgroundColor: theme.COLORS.TRANSPARENT,
width: width * 0.50,
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,
},
});
renderInputs = () => {
return (
<input name="camera-18" color="{theme.COLORS.ICON}" size="{16}" style="{{" placeholder="icon right">}
/>
)
}
imageStyle={styles.profileImage}>
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,
height: thumbMeasure
},
gradient: {
zIndex: 1,
left: 0,
}
}
const styles = StyleSheet.create({
home: {
width: width,
},
search: {
height: 48,
width: width - 32,
marginHorizontal: 16,
borderWidth: 1,
borderRadius: 3,
},
header: {
backgroundColor: theme.COLORS.WHITE,
shadowColor: theme.COLORS.BLACK,
shadowOffset: {
width: 0,
height: 2
},
shadowRadius: 8,
shadowOpacity: 0.2,
elevation: 4,
zIndex: 2,
},
tabs: {
marginBottom: 24,
marginTop: 10,
elevation: 4,
},
tab: {
renderSocial = () => {
return (
<button style="{[styles.social," color="{theme.COLORS.FACEBOOK}">
</button><button style="{[styles.social," color="{theme.COLORS.TWITTER}">
</button>
renderSearch = () => {
const { navigation } = this.props;
return (
<input placeholder="What are you looking for?" style="{styles.search}" color="black"> navigation.navigate('Pro')}
iconContent={}
/>
)
}