FlightBookingApp
  • 🙂Welcome to Flight Booking App
  • ✈️Introduction
  • 🏃Run project
  • FOLDER STRUCTURE
    • 📂Screens
    • 📂src
  • components
    • 🌐components
      • Button
      • EmtyData
      • Header
      • HotOfferCard
      • Text input
      • ImageView
      • TextView
  • Helpers
    • Supports
  • Demo App
    • demo app
Powered by GitBook
On this page
  • Import
  • Usage
  • Props
  1. components
  2. components

HotOfferCard

Import

import HotOfferCard from './src/components/HotOfferCard/HotOfferCard';

Usage

 <HotOfferCard
  OnPress={()=>navigation.navigate('ScreenName')},
  Image={require('../../Assets/PNG/image.png')},
  OfferText={'Offer Text'},
  OfferSubText={'Offer Sub Text'}, 
 />

Props

The HotOfferCard component accepts the following props:

  1. OnPress: as like navigation.

  2. Image: as like as image URL.

  3. OfferText: Render the custom offer text.

  4. OfferSubText: Render the custom offer sub text.

PreviousHeaderNextText input

Last updated 1 year ago

🌐