public commit

This commit is contained in:
dswbx
2024-11-16 12:01:47 +01:00
commit 90f80c4280
582 changed files with 49291 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import type { CodeComponentMeta } from "@plasmicapp/host";
import { Link } from "wouter";
export function WouterLink({ href, className, children, ...props }) {
return (
<Link href={href ?? "#"} className={className} {...props}>
{children}
</Link>
);
}
export const WouterLinkMeta: CodeComponentMeta<any> = {
name: "WouterLink",
importPath: import.meta.dir,
props: {
href: {
type: "href",
},
children: {
type: "slot",
},
},
};