MCPcopy Create free account
hub / github.com/DTStack/dt-react-component / setValue

Function setValue

src/useMergeOption/demos/basic.tsx:18–20  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

16 return 1;
17 };
18 const setValue = (value: number) => {
19 setState([false, { day: false }, true][value]);
20 };
21
22 return (
23 <>

Callers 13

useImageFunction · 0.85
basic.tsxFile · 0.85
sql.tsxFile · 0.85
dark.tsxFile · 0.85
handleItemClickFunction · 0.85
ConversationsFunction · 0.85
handleSubmitFunction · 0.85
basic.tsxFile · 0.85
handleSubmitFunction · 0.85
conversations.tsxFile · 0.85
AIFunction · 0.85
BasicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected