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

Function renderLink

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

Source from the content-addressed store, hash-verified

14 );
15
16 const renderLink = () => (
17 <a href={href} className={classes}>
18 <span className={spanClasses}>{children}</span>
19 {ButtonSvg(white)}
20 </a>
21 );
22
23 return href ? renderLink() : renderButton();
24};

Callers 1

ButtonFunction · 0.85

Calls 1

ButtonSvgFunction · 0.85

Tested by

no test coverage detected