Termly can be installed on a site using React.js simply by adding the cookie banner script into the head of your index.html, also called the template.
Alternatively, you can make a React component that renders the <script> tag for the cookie banner:
// File: CookieBanner.jsxexport default function CookieBanner() { return // your cookie banner embed script here}