UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

26 lines (25 loc) 1.08 kB
import { FolderGroupDashboardWidgetParams } from "@docsvision/webclient/Platform/FolderGroupDashboardWidget"; import { PanelImpl, IPanelState } from "@docsvision/webclient/Platform/PanelImpl"; import React from "react"; /** @internal */ export interface IFolderGroupDashboardWidgetState extends FolderGroupDashboardWidgetParams, IPanelState { opacity: number; } export interface FolderGroupDashboardWidgetState extends IFolderGroupDashboardWidgetState { } /** @internal */ export declare class FolderGroupDashboardWidgetImpl<PropsT extends FolderGroupDashboardWidgetParams, StateT extends IFolderGroupDashboardWidgetState> 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; getWidgetStyle(): { backgroundColor: string; padding: string; }; renderControl(): JSX.Element; }