@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
18 lines (17 loc) • 971 B
TypeScript
import React from "react";
/** @review Свойства для {@link LinkItemViewWithSeparator} */
export interface ILinkItemViewWithSeparatorProps {
/** Дополнительный класс */
className?: string;
/** Является ли элемент первым в списке */
first?: boolean;
/** Является ли элемент доступным (кликабельным) */
readonly?: boolean;
/** Текст элемента */
title?: string;
/** @internal */
children?: React.ReactNode;
ref?: React.RefObject<HTMLDivElement>;
}
/** @review Отображает {@link LinkItemView} c {@link LinkSeparator} перед ним, если элемент первый в списке. */
export declare const LinkItemViewWithSeparator: React.ForwardRefExoticComponent<Pick<ILinkItemViewWithSeparatorProps, "title" | "children" | "className" | "first" | "readonly"> & React.RefAttributes<HTMLDivElement>>;