1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Convert MetadataSource to TypeScript

This commit is contained in:
Mark McDowall
2024-12-30 20:59:33 -08:00
parent 1bc1b080d1
commit 839658a698
2 changed files with 9 additions and 10 deletions
@@ -0,0 +1,26 @@
import React from 'react';
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
import translate from 'Utilities/String/translate';
import styles from './TheTvdb.css';
function TheTvdb() {
return (
<div className={styles.container}>
<img
className={styles.image}
src={`${window.Sonarr.urlBase}/Content/Images/thetvdb.png`}
/>
<div className={styles.info}>
<div className={styles.title}>{translate('TheTvdb')}</div>
<InlineMarkdown
data={translate('SeriesAndEpisodeInformationIsProvidedByTheTVDB', {
url: 'https://www.thetvdb.com/subscribe',
})}
/>
</div>
</div>
);
}
export default TheTvdb;