MCPcopy Index your code
hub / github.com/PartPilotLab/PartPilot / UnitFormRef

Interface UnitFormRef

lib/components/unit/UnitForm.tsx:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70);
71
72export interface UnitFormRef {
73 getSearchParameters: () => { value: number | null };
74 setValue: (value: number | null, unit?: string) => void;
75 clear: () => void;
76}
77
78const UnitForm = forwardRef<UnitFormRef, UnitFormProps>(
79 ({ valueType }, ref) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected