Skip to content

Instantly share code, notes, and snippets.

@jonathanhudak
Created March 3, 2023 05:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanhudak/2825f9b30304a9826004f802767b46d9 to your computer and use it in GitHub Desktop.
Save jonathanhudak/2825f9b30304a9826004f802767b46d9 to your computer and use it in GitHub Desktop.
import React from "https://esm.sh/react";
export default function ClientModule() {
return (
<section>
<h2>Client Module A</h2>
<p>TODO: put interactive JS stuff in this component</p>
<button onClick={() => alert("hello this button is interactive!")}>
do something
</button>
</section>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment