From 28fe93681a401bb5faa66fefb7b8951c0af09be0 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Wed, 1 Dec 2021 14:51:54 +0300 Subject: [PATCH] Update README.md --- tutorials/Desktop_Components/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tutorials/Desktop_Components/README.md b/tutorials/Desktop_Components/README.md index df24720dcb..8fe0ea905c 100644 --- a/tutorials/Desktop_Components/README.md +++ b/tutorials/Desktop_Components/README.md @@ -174,8 +174,9 @@ fun TextBox(text: String = "Item") { ## Tooltips -You can add tooltip to any components using `BoxWithTooltip`. Basically `BoxWithTooltip` is a `Box` with the ability to show a tooltip, and has the same arguments and behavior as `Box`. -The main arguments of the `BoxWithTooltip` function: +You can add tooltip to any components using `TooltipArea`. `TooltipArea` is similar to a `Box`, but with the ability to show a tooltip. + +The main arguments of the `TooltipArea` function: - tooltip - composable content representing tooltip - tooltipPlacement - describes how to place tooltip. You can specify an anchor (the mouse cursor or the component), an offset and an alignment - delay - time delay in milliseconds after which the tooltip will be shown (default is 500 ms)