Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@streetsmartdev
Last active June 8, 2018 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save streetsmartdev/8510569b41d7e1413be9b8518c026d16 to your computer and use it in GitHub Desktop.
Save streetsmartdev/8510569b41d7e1413be9b8518c026d16 to your computer and use it in GitHub Desktop.
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