({ children, className, appName }: ButtonProps)
| 9 | } |
| 10 | |
| 11 | export const Button = ({ children, className, appName }: ButtonProps) => { |
| 12 | return ( |
| 13 | <button |
| 14 | className={className} |
| 15 | onClick={() => alert(`Hello from your ${appName} app!`)} |
| 16 | > |
| 17 | {children} |
| 18 | </button> |
| 19 | ); |
| 20 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected