Skip to content

Latest commit

 

History

History
executable file
·
33 lines (28 loc) · 1.09 KB

CardList.md

File metadata and controls

executable file
·
33 lines (28 loc) · 1.09 KB

##card-list-headref

Card List

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

Preview ios card-list-headref Preview android card-list-headref

Syntax

import React, { Component } from 'react';
import { Container, Header, Content, Card, CardItem, Text, Icon, Right } from 'native-base';
export default class CardListExample extends Component {
  render() {
    return (
      <Container>
        <Header />
        <Content>
          <Card>
            <CardItem>
              <Icon active name="logo-googleplus" />
              <Text>Google Plus</Text>
              <Right>
                <Icon name="arrow-forward" />
              </Right>
             </CardItem>
           </Card>
        </Content>
      </Container>
    );
  }
}