mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-25 22:46:31 -04:00
25 lines
634 B
TypeScript
25 lines
634 B
TypeScript
import { IconDefinition } from '@fortawesome/free-regular-svg-icons';
|
|
import React from 'react';
|
|
import Icon from 'Components/Icon';
|
|
import styles from './SeriesIndexOverviewInfoRow.css';
|
|
|
|
interface SeriesIndexOverviewInfoRowProps {
|
|
title?: string;
|
|
iconName?: IconDefinition;
|
|
label: string | null;
|
|
}
|
|
|
|
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;
|