import React, { Component } from 'react'; import PropTypes from 'prop-types'; import './googleCloud.css'; import { withTranslation } from 'react-i18next'; import { Icon } from 'react-viewerbase'; class DatasetsList extends Component { state = { search: '', }; static propTypes = { datasets: PropTypes.array, loading: PropTypes.bool, error: PropTypes.string, onSelect: PropTypes.func, }; static defaultProps = { loading: true, }; renderTableRow = dataset => { return (
{this.props.error}
; } const loadingIcon = (| {this.props.t('Dataset')} |
|---|