UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

22 lines (21 loc) 942 B
import { FolderDashboardWidgetParams } from "@docsvision/webclient/Platform/FolderDashboardWidget"; import { PanelImpl, IPanelState } from "@docsvision/webclient/Platform/PanelImpl"; import React from "react"; /** @internal */ export interface IFolderDashboardWidgetState extends FolderDashboardWidgetParams, IPanelState { opacity: number; } export interface FolderDashboardWidgetState extends IFolderDashboardWidgetState { } /** @internal */ export declare class FolderDashboardWidgetImpl<PropsT extends FolderDashboardWidgetParams, StateT extends IFolderDashboardWidgetState> extends PanelImpl<PropsT, StateT> { private unreadCounter; constructor(props: PropsT, state: StateT); getHeader(): string; getNavigationHref(): string; private attachUnreadCounter; private shouldShowUnreadCounter; updateUnreadCounter(count: number): void; getCssStyle(): React.CSSProperties; renderControl(): JSX.Element; }