From aa6e7a99ee7e0d5509d6e2823dc2c85d72678426 Mon Sep 17 00:00:00 2001 From: alexstyl <1665273+alexstyl@users.noreply.github.com> Date: Mon, 15 Jul 2024 21:41:53 +0300 Subject: [PATCH] Update docs --- docs/dialog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dialog.md b/docs/dialog.md index d072d62..c46db79 100644 --- a/docs/dialog.md +++ b/docs/dialog.md @@ -27,9 +27,9 @@ A dialog consists of the following components: `Dialog`, `DialogPanel` and the o The `Dialog` controls the visibility of the dialog via the `DialogState` object. -The `DialogPanel` renders the +The `DialogPanel` is a container component that renders the dialog's panel and its contents. -The optional `Scrim` component is used to add layer behind the dialog +The optional `Scrim` component is used to add layer behind the dialog and dim the rest of the UI. ```kotlin val dialogState = rememberDialogState()