> For the complete documentation index, see [llms.txt](https://uniorecinfotech.gitbook.io/flightbookingapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uniorecinfotech.gitbook.io/flightbookingapp/components/components/hotoffercard.md).

# HotOfferCard

### Import

{% code overflow="wrap" %}

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

{% endcode %}

### Usage

```javascript
 <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.
