dale-french/react-native-cards

question: would you mind doing a code snippet for achieving ...

sasasavic82 opened this issue · 1 comments

great library - would you mind doing a small code snippet which would achieve the right example on your root directory - with one of the background colors and no image (less height on the card)?

Thank you :)

Hey @sasasavic82 sorry about the late response - see below

<Card
	isDark
	style={{ backgroundColor: '#2D566B' }}
	>
	<CardTitle
	  title="Unlimited music now"
	/>
	<CardContent text="Listen to your favorite artists and albums whenever and wherever, online and offline." />
	<CardAction 
	  separator={true} 
	  inColumn={false}>
	  <CardButton
		onPress={() => {}}
		title="Listen now"
		color="#FFFFFF"
	  />
	</CardAction>
</Card>