MCPcopy Index your code
hub / github.com/AndrewWalsh/openapi-devtools / getClassnameFromPartType

Function getClassnameFromPartType

src/ui/ControlDynamic.tsx:16–21  ·  view source on GitHub ↗
(type: PartType)

Source from the content-addressed store, hash-verified

14const WHITE = "#EDF2F7";
15
16const getClassnameFromPartType = (type: PartType): string => {
17 if (type === PartType.Static) {
18 return classes.static;
19 }
20 return "";
21};
22
23const ControlDynamic = () => {
24 const { endpoints, parameterise } = useContext(Context);

Callers 1

ControlDynamicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected