Skip to content

Commit

Permalink
Update dialog-billing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MFlisar authored Oct 24, 2024
1 parent dc45d5a commit 9e1739d
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions readmes/dialog-billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,4 @@

This shows a dialog with the prices and names of your products. It also shows if a product is already owned and allows to buy unowned products by clicking them.

```kotlin
fun DialogBilling(
state: DialogState,
// custom settings
products: List<DialogBilling.BillingProduct>,
texts: DialogBilling.Texts = DialogBillingDefaults.texts(),
// Base Dialog - Optional
title: String? = null,
icon: (@Composable () -> Unit)? = null,
style: ComposeDialogStyle = DialogDefaults.defaultDialogStyle(),
//buttons: DialogButtons = DialogDefaults.buttons(),
//options: Options = Options(),
onEvent: (event: DialogEvent) -> Unit = {}
)
```
https://github.com/MFlisar/ComposeDialogs/blob/dc45d5a81905eb53b2883cfaab129b5a503cb992/library/modules/billing/src/main/java/com/michaelflisar/composedialogs/dialogs/billing/DialogBilling.kt#L72-L84

0 comments on commit 9e1739d

Please sign in to comment.