Last active
June 8, 2018 18:35
-
-
Save streetsmartdev/8510569b41d7e1413be9b8518c026d16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { Text } from "react-native"; | |
import { Card } from "react-native-elements"; | |
export default class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
data: data | |
}; | |
} | |
render() { | |
return ( | |
<Card | |
title={null} | |
image={{ uri: "http://via.placeholder.com/160x160" }} | |
containerStyle={{ padding: 0, width: 160 }} | |
> | |
<Text style={{ marginBottom: 10 }}> | |
hello | |
</Text> | |
</Card> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment