MCPcopy Create free account
hub / github.com/VienLi/CcView / onCreateButtonClick

Function onCreateButtonClick

src/components/Application/AppContainer.tsx:42–45  ·  view source on GitHub ↗
(event: MouseEvent)

Source from the content-addressed store, hash-verified

40 const [openDialog, setOpenDialog] = useState(false);
41 // 创建按钮事件
42 function onCreateButtonClick(event: MouseEvent) {
43 setOpenDialog(true);
44 event.stopPropagation();
45 }
46 // 创建应用或页面
47 function handleCreate(data: Record<string, any>, refs: Record<string, any>) {
48 const submitButtonRef = refs['submit-btn'];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected