@datadome/module-nextjs
Version:
DataDome module for Next.js applications
24 lines • 781 B
TypeScript
import React from 'react';
/**
* Options defines the configuration options for DataDome JavaScript Tag.
*/
type Options = Record<string, unknown> & {
endpoint?: string;
};
/**
* DataDomeComponentProps defines the properties for the DataDomeComponent.
* @property {string} clientSideKey - The client-side key for DataDome.
* @property {Options} [options] - Additional options for DataDome.
* @property {string} [tagsUrl] - The URL for the DataDome tags script.
*/
interface ComponentProps {
clientSideKey: string;
options?: Options;
tagsUrl?: string;
}
/**
* DataDomeComponent is a React component that loads the DataDome JavaScript Tag.
*/
export declare const DataDomeComponent: React.FC<ComponentProps>;
export {};
//# sourceMappingURL=Component.d.ts.map