npm install --save @types/react-cookiebot
This package contains type definitions for react-cookiebot (https://github.com/yeutech-lab/react-cookiebot/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-cookiebot.
import * as React from "react";
declare namespace ReactCookieBot {
interface ReactCookieBotProps {
/** Cookie bot domain group id */
domainGroupId?: string | undefined;
/** Cookie bot data culture */
language?: string | undefined;
}
}
/**
* A simple react cookie bot component that configure
* Cookiebot in your react or react-native-web application.
*/
declare const ReactCookieBot: React.FC<ReactCookieBot.ReactCookieBotProps>;
export = ReactCookieBot;
- Last updated: Fri, 04 Oct 2024 16:42:27 GMT
- Dependencies: @types/react
These definitions were written by David Díez.