Custom props

You can pass any of the props listed here into the Turnstile component. Here is an example:

import { Turnstile } from "@marsidev/react-turnstile";

export default function Widget() {
  return (
    <Turnstile
      as="aside"
      siteKey="1x00000000000000000000AA"
      className="fixed bottom-4 right-4"
      options={{
        action: "submit-form",
        theme: "light",
        size: "compact",
        language: "es",
      }}
      scriptOptions={{
        appendTo: "body",
      }}
    />
  );
}