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.
Radarr/frontend/src/Movie/Index/Overview/MovieIndexOverviewInfoRow.js

36 lines
656 B

import PropTypes from 'prop-types';
import React from 'react';
import Icon from 'Components/Icon';
import styles from './MovieIndexOverviewInfoRow.css';
function MovieIndexOverviewInfoRow(props) {
const {
title,
iconName,
label
} = props;
return (
<div
className={styles.infoRow}
title={title}
>
<Icon
className={styles.icon}
name={iconName}
size={14}
/>
{label}
</div>
);
}
MovieIndexOverviewInfoRow.propTypes = {
title: PropTypes.string,
iconName: PropTypes.object.isRequired,
label: PropTypes.string.isRequired
};
export default MovieIndexOverviewInfoRow;