Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 1.92 KB

File metadata and controls

41 lines (37 loc) · 1.92 KB

Card List

Include CardItem subsequently within Card to create a card with lists.


iOS Android

Syntax

import React, { Component } from 'react';
import { Container, Content, Card, CardItem, Text, Icon } from 'native-base/ui';
​
export default class CardListExample extends Component {
    render() {
        return (
            <Container>
                <Content>
                    <Card>
                        <CardItem>
                            <Icon name="logo-googleplus" style={{ color: '#DD5044' }} />
                            <Text>Google Plus</Text>
                        </CardItem>
                   </Card>
                </Content>
            </Container>
        );
    }
}