You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
634 B
25 lines
634 B
import { IconDefinition } from '@fortawesome/free-regular-svg-icons';
|
|
import React from 'react';
|
|
import Icon from 'Components/Icon';
|
|
import styles from './ArtistIndexOverviewInfoRow.css';
|
|
|
|
interface ArtistIndexOverviewInfoRowProps {
|
|
title?: string;
|
|
iconName?: IconDefinition;
|
|
label: string | null;
|
|
}
|
|
|
|
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;
|