feat(create-turbo): create basic

This commit is contained in:
Turbobot
2024-01-10 12:41:11 +07:00
committed by Thanu Poptiphueng
commit af28fc43a4
59 changed files with 6625 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
"use client";
import { ReactNode } from "react";
interface ButtonProps {
children: ReactNode;
className?: string;
appName: string;
}
export const Button = ({ children, className, appName }: ButtonProps) => {
return (
<button
className={className}
onClick={() => alert(`Hello from your ${appName} app!`)}
>
{children}
</button>
);
};