MCPcopy Create free account
hub / github.com/code100x/cms / FormInputProps

Interface FormInputProps

src/components/posts/form/form-input.tsx:12–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { FormPostErrors } from './form-errors';
11
12interface FormInputProps {
13 id: string;
14 label?: string;
15 type?: string;
16 placeholder?: string;
17 required?: boolean;
18 disabled?: boolean;
19 errors?: Record<string, string[] | undefined>;
20 className?: string;
21 defaultValue?: string;
22 onBlur?: () => void;
23 onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
24}
25
26export const FormPostInput = forwardRef<HTMLInputElement, FormInputProps>(
27 (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected