Skip to content

Commit

Permalink
Write icon view
Browse files Browse the repository at this point in the history
  • Loading branch information
onting committed Aug 4, 2020
1 parent 39c83f0 commit 1d76c79
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion compo/orgview.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
import React from 'react';
import { View } from 'react-native';
import { View, Image, TouchableHighlight } from 'react-native';
import hostaddr from '../config'

const OrgIcon = (props) => {
return (
<TouchableHighlight>
<Image source={{uri: props.imageUri}} />
<Text>
{props.name}
</Text>
<Text>
{props.tags[0]}
</Text>
</TouchableHighlight>
);
}

const OrgView = () => {
return (
<View>
Expand Down

0 comments on commit 1d76c79

Please sign in to comment.