mirror of https://github.com/lidarr/Lidarr
24 lines
548 B
TypeScript
24 lines
548 B
TypeScript
import React from 'react';
|
|
import Icon from 'Components/Icon';
|
|
import styles from './ArtistIndexOverviewInfoRow.css';
|
|
|
|
interface ArtistIndexOverviewInfoRowProps {
|
|
title?: string;
|
|
iconName: object;
|
|
label: string;
|
|
}
|
|
|
|
function ArtistIndexOverviewInfoRow(props: ArtistIndexOverviewInfoRowProps) {
|
|
const { title, iconName, label } = props;
|
|
|
|
return (
|
|
<div className={styles.infoRow} title={title}>
|
|
<Icon className={styles.icon} name={iconName} size={14} />
|
|
|
|
{label}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default ArtistIndexOverviewInfoRow;
|