MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / renderPkgButtons

Function renderPkgButtons

src/components/code/CliInstallation.jsx:171–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 if (!commands) return null;
170
171 const renderPkgButtons = () => (
172 <div className="pkg-buttons" data-role="pkg-buttons">
173 {PKG_MANAGERS.map(m => (
174 <button key={m} className="cli-tool-tab" data-active={pkg === m} onClick={() => setPkg(m)}>
175 {m}
176 </button>
177 ))}
178 </div>
179 );
180
181 const CopyButton = (
182 <Button

Callers 1

CliInstallationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected