Skip to content

Latest commit

 

History

History
executable file
·
71 lines (67 loc) · 2.4 KB

HeaderAndFooter.md

File metadata and controls

executable file
·
71 lines (67 loc) · 2.4 KB

card-headfoot-headref

Card Header and Footer

To add an optional header and/or footer within a card, include header / footer prop with the CardItem.

  • Card Header: Include header prop with first instance of CardItem within Card.
  • Card Footer: Include footer prop with last instance of CardItem within Card.

Preview ios card-headfoot-headref Preview android card-headfoot-headref

Syntax

{% codetabs name="React Native", type="js" -%} import React, { Component } from 'react'; import { Container, Header, Content, Card, CardItem, Text, Body } from 'native-base'; export default class CardHeaderFooterExample extends Component { render() { return (

NativeBase //Your text here GeekyAnts ); } } {%- language name="Vue Native", type="vue" -%} NativeBase //Your text here
GeekyAnts {%- endcodetabs %}