Skip to content

Commit

Permalink
Fixing 'remote image' button example (#221)
Browse files Browse the repository at this point in the history
* fix: Updating uri link in ButtonExample (the current one gives 404 and no image displayed).

* fix: Updating uri link in ButtonExample (svg doesn't work well).
  • Loading branch information
kpsroka authored and ferrannp committed Jan 31, 2018
1 parent 18e0794 commit 5d67167
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/src/ButtonExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ class ButtonExample extends React.Component<Props, State> {
};

render() {
const uri = { uri: 'https://facebook.github.io/react/img/logo_og.png' };
const uri = {
// Callstack company avatar from github.
uri: 'https://avatars0.githubusercontent.com/u/17571969?v=3&s=400',
};
const source = require('../assets/chameleon.jpg');
const { theme: { colors: { background } } } = this.props;
return (
Expand Down

0 comments on commit 5d67167

Please sign in to comment.