diff options
Diffstat (limited to 'src/components/Loading.js')
| -rw-r--r-- | src/components/Loading.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/components/Loading.js b/src/components/Loading.js deleted file mode 100644 index 3547d03..0000000 --- a/src/components/Loading.js +++ /dev/null @@ -1,19 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; - -import s0 from './Loading.module.css'; - -const Loading = ({ height }) => { - const style = height ? { height } : {}; - return ( - <div className={s0.loading} style={style}> - <div className={s0.pulse} /> - </div> - ); -}; - -Loading.propTypes = { - height: PropTypes.string, -}; - -export default Loading; |
