We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09314cc commit fcd366fCopy full SHA for fcd366f
1 file changed
README.md
@@ -65,10 +65,7 @@ import { Switch, Match } from "solid-js";
65
import { createScript } from "@dschz/solid-create-script";
66
67
const CustomComponent = () => {
68
- const script = createScript({
69
- src: "https://example.com/widget.js",
70
- options: { async: true }
71
- });
+ const script = createScript("https://example.com/widget.js", { async: true });
72
73
return (
74
<Switch>
0 commit comments