MCPcopy Create free account
hub / github.com/dailydotdev/apps / getFeedLabel

Function getFeedLabel

packages/shared/src/components/modals/NewSourceModal.tsx:67–78  ·  view source on GitHub ↗
(label: string, link: string)

Source from the content-addressed store, hash-verified

65 | ScrapeSourceUnavailable;
66
67const getFeedLabel = (label: string, link: string) => (
68 <span className="flex w-full flex-1 items-center justify-between">
69 {label}
70 <Button
71 variant={ButtonVariant.Tertiary}
72 tag="a"
73 target="_blank"
74 href={link}
75 icon={<OpenLinkIcon />}
76 />
77 </span>
78);
79
80export default function NewSourceModal(props: ModalProps): ReactElement {
81 const scrapeFormRef = useRef<HTMLFormElement>();

Callers 1

NewSourceModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected