Function
getFeedLabel
(label: string, link: string)
Source from the content-addressed store, hash-verified
| 65 | | ScrapeSourceUnavailable; |
| 66 | |
| 67 | const 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 | |
| 80 | export default function NewSourceModal(props: ModalProps): ReactElement { |
| 81 | const scrapeFormRef = useRef<HTMLFormElement>(); |
Tested by
no test coverage detected