From 6bca7c83a7e2d62015f45f873b0f69f11b4d902b Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Tue, 8 Jun 2021 08:10:56 -0700 Subject: redesign create-astro (#301) * redesign create astro * add changeset * Use npm start * Update the astro version * Adds the changeset Co-authored-by: Fred Schott Co-authored-by: Matthew Phillips --- examples/docs/src/components/EditOnGithub.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 examples/docs/src/components/EditOnGithub.tsx (limited to 'examples/docs/src/components/EditOnGithub.tsx') diff --git a/examples/docs/src/components/EditOnGithub.tsx b/examples/docs/src/components/EditOnGithub.tsx new file mode 100644 index 000000000..f7478934f --- /dev/null +++ b/examples/docs/src/components/EditOnGithub.tsx @@ -0,0 +1,26 @@ +import type { FunctionalComponent } from 'preact'; +import { h } from 'preact'; + +const EditOnGithub: FunctionalComponent<{ href: string }> = ({ href }) => { + return ( + + + + + + + Edit on GitHub + + ); +}; + +export default EditOnGithub; -- cgit v1.2.3