schafott-cli
Version:
Scaffold CLI is a command line tool to generate scaffolds for your projects. It takes away the pain of creating the same files and folders over and over again for every new library project you start. Also it comes with ready-to-use configurations for Type
2 lines (1 loc) • 369 B
TypeScript
export declare const buttonExampleComponent = "//This is a simple Button Component. Use this as a starting point for your own components.\n\nimport React from 'react';\n\ninterface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n label: string;\n}\n\nexport const Button = ({ label }: ButtonProps) => {\n return <button>{label}</button>;\n};\n";