UNPKG

@progress/sitefinity-nextjs-sdk

Version:

Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.

20 lines (19 loc) 841 B
import { Dictionary } from '../../typings/dictionary'; import { LinkModel } from './link-model'; import { WidgetContext } from './widget-context'; export declare function htmlAttributes(widgetContext: WidgetContext<any>, error?: string | undefined): { [key: string]: any; }; export declare function setHideEmptyVisual(attributes: { [key: string]: any; }, value: boolean): void; export declare function setWarning(attributes: { [key: string]: any; }, warning: string): void; export declare const generateAnchorAttrsFromLink: (linkModel?: LinkModel | null, classList?: string) => import("react").AnchorHTMLAttributes<HTMLAnchorElement> | null; export declare const getCustomAttributes: (attributes: { [key: string]: Array<{ Key: string; Value: string; }>; } | null | undefined, part: string) => Dictionary;