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.
Lidarr/frontend/src/Album/EpisodeLanguage.js

28 lines
443 B

import PropTypes from 'prop-types';
import React from 'react';
import Label from 'Components/Label';
function EpisodeLanguage(props) {
const {
className,
language
} = props;
if (!language) {
return null;
}
return (
<Label className={className}>
{language.name}
</Label>
);
}
EpisodeLanguage.propTypes = {
className: PropTypes.string,
language: PropTypes.object
};
export default EpisodeLanguage;