1234567891011121314151617181920212223242526 |
- import React from "react";
- import {
- Image,
- } from 'react-native';
- class Bananas extends React.Component {
- render() {
- const pic = {
- uri: 'https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg',
- };
- const img = (
- <Image source={pic} style={{
- backgroundColor: 'orange',
- height: 110,
- opacity: 0.9,
- width: '100%',
- }} />
- );
- return (
- img
- );
- }
- }
- export default Bananas;
|