MCPcopy Create free account
hub / github.com/LearnPrompt/LearnPrompt / ButtonField

Function ButtonField

src/components/ButtonField.js:3–9  ·  view source on GitHub ↗
({ isActive, onClick, text, className, customStyle })

Source from the content-addressed store, hash-verified

1import React from "react";
2
3function ButtonField({ isActive, onClick, text, className, customStyle }) {
4 return (
5 <div
6 onClick={onClick}
7 style={{
8 width: '11rem'
9 }}
10 className={
11 "flex items-center tracking-tight rounded-full gap-1 justify-center px-3 py-2 cursor-pointer transition-all hover:shadow-md font-semibold" +
12 " " +

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected