MCPcopy Create free account
hub / github.com/Nutlope/llamacoder / Fieldset

Function Fieldset

components/fieldset.tsx:4–15  ·  view source on GitHub ↗
({
  children,
  ...rest
}: ComponentProps<"fieldset">)

Source from the content-addressed store, hash-verified

2import { useFormStatus } from "react-dom";
3
4export default function Fieldset({
5 children,
6 ...rest
7}: ComponentProps<"fieldset">) {
8 const { pending } = useFormStatus();
9
10 return (
11 <fieldset {...rest} disabled={pending}>
12 {children}
13 </fieldset>
14 );
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected