MCPcopy Create free account
hub / github.com/code100x/chess / Button

Function Button

packages/ui/src/button.tsx:11–20  ·  view source on GitHub ↗
({ children, className, appName }: ButtonProps)

Source from the content-addressed store, hash-verified

9}
10
11export 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};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected