# Premium Offers

### TopPremiumOffers Composable Function

#### Overview

The `TopPremiumOffers` composable function is designed to display top premium offers within the application. It utilizes the `TopOffers` composable to render the offers with specific settings.

#### Parameters:

* The `context` parameter is required and should be the context of the widget that will display the top offers widget.
* The `widgetStyle` parameter is used to choose the style of the widget. The default style is `PremiumWidgetStyles.LIST`, which displays the offers in a list. Other available style is `PremiumWidgetStyles.SLIDER_CARDS`, which displays the offers in a slider.

**Available Widget Style options**

<figure><img src="https://347922413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqqMYRbr0w4Hv3JxQUF7%2Fuploads%2Fgi6lJ2V1tOozjsIv6d6y%2FPremium%20option%2015.png?alt=media&#x26;token=38919515-2a7b-442e-8fa9-ad3cc55dfd5d" alt=""><figcaption><p>Option 1</p></figcaption></figure>

<figure><img src="https://347922413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqqMYRbr0w4Hv3JxQUF7%2Fuploads%2FjfIqaM6sZk8MquuAMc3I%2FFrame%201171276648.png?alt=media&#x26;token=65a17699-afd6-451b-a01f-b1c506987e0a" alt=""><figcaption><p>Option 2 </p></figcaption></figure>

Return Value:

* `Widget`: A Composable `Widget` that can be embedded in your application's UI.

#### Usage

To use this composable, you can call it through the `Tyrads` instance like this:

```kotlin
Tyrads.getInstance().TopPremiumOffers(
    widgetStyle = Tyrads.PremiumWidgetStyles.SLIDER_CARDS
)
```

Or, use the default values:

```kotlin
Tyrads.getInstance().TopPremiumOffers()
```
