From 3e7e868cf67c07532d31993a906cfea66057a76d Mon Sep 17 00:00:00 2001 From: WenChen2005 Date: Sun, 21 Sep 2025 13:07:17 -0400 Subject: [PATCH] docs(HelpMark): improved the README description, removing outdatae line, add children prop (#2417) --- src/components/HelpMark/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/HelpMark/README.md b/src/components/HelpMark/README.md index ceaca18585..a94212dd82 100644 --- a/src/components/HelpMark/README.md +++ b/src/components/HelpMark/README.md @@ -8,11 +8,10 @@ import {HelpMark} from '@gravity-ui/uikit'; ``` -Component to display help icon with popover +A help icon that reveals contextual information in a popover on hover or click. Ideal for showing tips, explanations, or supporting content without taking up extra space in the interface. ## Examples -Component with rendered raw html and close on mouse leave: `HelpMark` accepts any valid `button` element props in addition to these: -| Name | Description | Type | Default | -| :----------- | :----------------------- | :----------------------: | :-----: | -| iconSize | Sets icon size | `"s"` `"m"` `"l"` `"xl"` | `"m"` | -| popoverProps | Override `Popover` props | `PopoverProps` | | +| Name | Description | Type | Default | +| :----------- | :--------------------------------- | :----------------------: | :-----: | +| iconSize | Sets icon size | `"s"` `"m"` `"l"` `"xl"` | `"m"` | +| popoverProps | Override `Popover` props | `PopoverProps` | | +| children | Content displayed inside the popover | `React.ReactNode` | |