MCPcopy
hub / github.com/watsonbox/exportify / renderTickCross

Method renderTickCross

src/components/PlaylistRow.tsx:36–42  ·  view source on GitHub ↗
(condition: boolean)

Source from the content-addressed store, hash-verified

34 }
35
36 renderTickCross(condition: boolean) {
37 if (condition) {
38 return <FontAwesomeIcon icon={['far', 'check-circle']} size="sm" />
39 } else {
40 return <FontAwesomeIcon icon={['far', 'times-circle']} size="sm" className="opacity-25" />
41 }
42 }
43
44 renderIcon(playlist: any) {
45 if (playlist.name === 'Liked') {

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected