UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

17 lines (15 loc) 673 B
/// <reference types="react" /> import { HtmlProps } from '@docsvision/web/core/component'; import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models'; export declare type PowersDirectorySection = { id: string; name: string; }; export interface IPowersDirectoryInfoProps extends HtmlProps.div { section: PowersDirectorySection; placeholderText?: string; onEditSectionClick: () => void; loadLayout: () => Promise<GenModels.LayoutViewModel>; } export declare const POWERS_DIRECTORY_INFO_LOCATION_NAME = "DV.PowersDirectoryInfo"; export declare function PowersDirectoryInfo(props: IPowersDirectoryInfoProps): JSX.Element;