// Copyright (C) 2017-2020 Smart code 203358507 const React = require('react'); const PropTypes = require('prop-types'); const classnames = require('classnames'); const Icon = require('stremio-icons/dom'); const Button = require('stremio/common/Button'); const CONSTANTS = require('stremio/common/CONSTANTS'); const styles = require('./styles'); const MetaRowPlaceholder = ({ className, title, deepLinks }) => { return (
0 ? title : null}> {typeof title === 'string' && title.length > 0 ? title : null}
{ deepLinks && typeof deepLinks.discover === 'string' ? : null }
{Array(CONSTANTS.CATALOG_PREVIEW_SIZE).fill(null).map((_, index) => (
))}
); }; MetaRowPlaceholder.propTypes = { className: PropTypes.string, title: PropTypes.string, deepLinks: PropTypes.shape({ discover: PropTypes.string }) }; module.exports = MetaRowPlaceholder;