MCPcopy
hub / github.com/adrianhajdin/brainwave / renderButton

Function renderButton

src/components/Button.jsx:9–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 const spanClasses = "relative z-10";
8
9 const renderButton = () => (
10 <button className={classes} onClick={onClick}>
11 <span className={spanClasses}>{children}</span>
12 {ButtonSvg(white)}
13 </button>
14 );
15
16 const renderLink = () => (
17 <a href={href} className={classes}>

Callers 1

ButtonFunction · 0.85

Calls 1

ButtonSvgFunction · 0.85

Tested by

no test coverage detected