MCPcopy Index your code
hub / github.com/gitpoint/git-point / getIconName

Function getIconName

src/components/issue-list-item.component.js:55–61  ·  view source on GitHub ↗
(type, issue)

Source from the content-addressed store, hash-verified

53});
54
55const getIconName = (type, issue) => {
56 if (type === 'issue') {
57 return issue.state === 'closed' ? 'issue-closed' : 'issue-opened';
58 }
59
60 return 'git-pull-request';
61};
62
63const getIconColor = issue => {
64 if (issue.state === 'open') {

Callers 1

IssueListItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected