MCPcopy Create free account
hub / github.com/FunAudioLLM/Fun-Audio-Chat / Button

Function Button

web_demo/client/src/components/Button/Button.tsx:4–13  ·  view source on GitHub ↗
({ children, className, ...props })

Source from the content-addressed store, hash-verified

2
3type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
4export const Button: FC<ButtonProps> = ({ children, className, ...props }) => {
5 return (
6 <button
7 className={`border-2 disabled:bg-gray-100 border-white bg-black p-2 text-white hover:bg-gray-800 active:bg-gray-700 ${className ?? ""}`}
8 {...props}
9 >
10 {children}
11 </button>
12 );
13};
14
15
16export const SwitchButton: FC<ButtonProps> = ({ children, className, ...props }) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected