mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-22 22:16:13 -04:00
24 lines
548 B
TypeScript
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;
|