# TopOffer4

{% hint style="info" %}
All available props for the TopOffer4 component are defined and handled within **Component usage path** file. This allows for easy modifications to the content of the TopOffer section.
{% endhint %}

**Component path**: `src/blocks/top-offer/TopOffer4.tsx`

**Component usage path:**  `src/app/blocks/top-offer/top-offer4/page.tsx`

**Preview link:** [**https://www.saasable.io/blocks/top-offer/top-offer4**](https://www.saasable.io/blocks/top-offer/top-offer4)

## Props Details

| Prop            | Type                                                            | Description                                                                                                                                                      | Displayed as                                                                                                      |
| --------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **offer**       | `{ label: string; secondaryLabel?: string; link?: LinkProps; }` | Contains details about the offer. It includes a `label` for the primary message, optionally a `secondaryLabel` for additional text, and a `link` for navigation. | `{ label: 'Special Discount!', secondaryLabel: 'Save More', link: { href: '/discounts', title: 'See Details' } }` |
| **handleClick** | `function` (Optional)                                           | A function to handle the click event for closing the alert. If not provided, the alert can be closed by internal state management.                               | `() => console.log('Alert closed')`                                                                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://phoenixcoded.gitbook.io/saasable/ui-kit/development/components/topoffer/topoffer4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
