ScriptsProps
react-router

ScriptsProps type

type ScriptsProps = Omit<React.HTMLProps<HTMLScriptElement>, "children" | "async" | "defer" | "src" | "type" | "noModule" | "dangerouslySetInnerHTML" | "suppressHydrationWarning">

A couple common attributes:

You cannot pass through attributes such as async, defer, src, type, noModule because they are managed by React Router internally.

Docs and examples CC 4.0