1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00
Files
Sonarr/frontend/src/Series/Index/Overview/SeriesIndexOverviewInfoRow.tsx
T
2023-02-12 19:16:07 -08:00

24 lines
548 B
TypeScript

import React from 'react';
import Icon from 'Components/Icon';
import styles from './SeriesIndexOverviewInfoRow.css';
interface SeriesIndexOverviewInfoRowProps {
title?: string;
iconName: object;
label: string;
}
function SeriesIndexOverviewInfoRow(props: SeriesIndexOverviewInfoRowProps) {
const { title, iconName, label } = props;
return (
<div className={styles.infoRow} title={title}>
<Icon className={styles.icon} name={iconName} size={14} />
{label}
</div>
);
}
export default SeriesIndexOverviewInfoRow;