diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-02-07 14:03:37 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-02-07 14:03:37 +0800 |
commit | 8b90b1d1b12bdae4f1fa06caec5cd5619dc83437 (patch) | |
tree | 8364054c2c8858604c95510067f33d095355de9f /mascara/src/app/first-time/loading-screen.js | |
parent | d84dc5da4249cd6737d892b044534f7f83c91979 (diff) | |
download | tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.gz tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.bz2 tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.lz tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.xz tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.zst tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.zip |
Remove accessing PropTypes from main React package
Diffstat (limited to 'mascara/src/app/first-time/loading-screen.js')
-rw-r--r-- | mascara/src/app/first-time/loading-screen.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mascara/src/app/first-time/loading-screen.js b/mascara/src/app/first-time/loading-screen.js index 732b7f2d7..01e1c1998 100644 --- a/mascara/src/app/first-time/loading-screen.js +++ b/mascara/src/app/first-time/loading-screen.js @@ -1,4 +1,5 @@ -import React, {Component, PropTypes} from 'react' +import React from 'react' +import PropTypes from 'prop-types' import Spinner from './spinner' export default function LoadingScreen({ className = '', loadingMessage }) { @@ -7,5 +8,10 @@ export default function LoadingScreen({ className = '', loadingMessage }) { <Spinner color="#1B344D" /> <div className="loading-screen__message">{loadingMessage}</div> </div> - ); + ) +} + +LoadingScreen.propTypes = { + className: PropTypes.string, + loadingMessage: PropTypes.string, } |