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

Function Input

web_demo/client/src/components/Input/Input.tsx:5–15  ·  view source on GitHub ↗
({className, error, ...props}:InputProps)

Source from the content-addressed store, hash-verified

3}
4
5export const Input = ({className, error, ...props}:InputProps) => {
6 return (
7 <div className="pb-8 relative">
8 <input
9 {...props}
10 className={`border-2 disabled:bg-gray-100 border-white bg-black p-2 outline-none text-white hover:bg-gray-800 focus:bg-gray-800 p-2 ${className ?? ""}`}
11 />
12 {error && <p className=" absolute text-red-800">{error}</p>}
13 </div>
14 );
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected