@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.
8 lines (7 loc) • 395 B
TypeScript
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;