@cloud-ru/ds-uikit-product-widget 1.0.8 → 1.0.9-preview-98332145.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -270,11 +270,11 @@ export function ErrorState() {
270
270
 
271
271
  | Prop | Type | Default | Description |
272
272
  |------|------|---------|-------------|
273
- | `avatar` | `AvatarProps` | — | |
274
- | `children` | `string \| number \| boolean \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| null \| undefined` | — | Кастомное содержимое вместо title/before |
273
+ | `avatar` | `AvatarProps` | — | Аватар с subtitle (Figma `userTitle`). Рендерится после заголовка, если `children` не передан. |
274
+ | `children` | `string \| number \| boolean \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| null \| undefined` | — | Произвольная нода после заголовка. Имеет приоритет над `avatar`. |
275
275
  | `className` | `string \| undefined` | — | CSS-класс |
276
276
  | `fullWidth` | `boolean \| undefined` | — | Занимает ли всю ширину |
277
- | `icon` | `string \| number \| boolean \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| null \| undefined` | — | |
277
+ | `icon` | `string \| number \| boolean \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| null \| undefined` | — | Иконка слева от заголовка. |
278
278
  | `title` | `string \| undefined` | — | Заголовок |
279
279
  | `titleTag` | `ElementType \| undefined` | — | Тег заголовка для семантики (например `'h2'`, `'h3'`, `'span'`) |
280
280