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.

13 lines (12 loc) 558 B
export declare const invalidDataAttr = "data-sf-invalid"; export declare const serializeForm: (form: HTMLFormElement) => { [key: string]: string; }; export declare const invalidateElement: (emptyInputs: any, element: HTMLInputElement) => void; export declare const isValidEmail: (email: string) => boolean; export declare const formatDate: (date: Date | string, culture?: string) => string; export declare const getWhiteListSearchParams: (searchParams: { [key: string]: string; }, whitelistedQueryParams: string[]) => { [key: string]: string; };