import React from 'react'; import PropTypes from 'prop-types'; import { gettext } from '../utils/constants'; const propTypes = { inAllLibs: PropTypes.bool // for 'Libraries' in 'Files' page }; class LibsMobileThead extends React.Component { render() { const { inAllLibs = false } = this.props; const widthList = inAllLibs ? ['14%', '78%', '8%'] : ['12%', '80%', '8%']; return ( {gettext('Library Type')} {gettext('Actions')} ); } } LibsMobileThead.propTypes = propTypes; export default LibsMobileThead;