Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
chromed
/
wp-content
/
plugins
/
envato-elements
/
trunk
/
src
/
js
/
react
/
components
/
Errors
:
ErrorLoadingData.jsx
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
import React from 'react' import PropTypes from 'prop-types' import styles from './ErrorLoadingData.module.scss' const ErrorLoadingData = ({ message }) => ( <div className={styles.message}><p className={styles.copy}>{message}</p></div> ) ErrorLoadingData.propTypes = { message: PropTypes.string } ErrorLoadingData.defaultProps = { message: 'Sorry there was an error loading this data. Please try again.' } export default ErrorLoadingData