MCPcopy Create free account
hub / github.com/emwalker/digraph / CloseButton

Function CloseButton

client/src/components/ui/Item/index.tsx:28–34  ·  view source on GitHub ↗
({ toggleForm }: { toggleForm: () => void })

Source from the content-addressed store, hash-verified

26}
27
28function CloseButton({ toggleForm }: { toggleForm: () => void }) {
29 return (
30 <dl className="form-group">
31 <button className="btn-link" onClick={toggleForm} type="button">Close</button>
32 </dl>
33 )
34}
35
36function Url({ url, showLink }: { url: string | null, showLink: boolean }) {
37 if (!url || !showLink) return null

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected