MCPcopy Create free account
hub / github.com/github/docs / clickDropdown

Function clickDropdown

components/guides/ArticleCards.tsx:33–36  ·  view source on GitHub ↗
(e: React.RefObject<HTMLDivElement>)

Source from the content-addressed store, hash-verified

31 }, [typeFilter, topicFilter])
32
33 const clickDropdown = (e: React.RefObject<HTMLDivElement>) => {
34 if (e === typesRef && typesRef.current) typesRef.current.focus()
35 if (e === topicsRef && topicsRef.current) topicsRef.current.focus()
36 }
37
38 const loadMore = () => {
39 if (articleCardRef.current) {

Callers 1

ArticleCardsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected