diff --git a/components/common/Loading.js b/components/common/Loading.js index 46e72f17..16d8bb8a 100644 --- a/components/common/Loading.js +++ b/components/common/Loading.js @@ -1,8 +1,9 @@ import React from 'react'; +import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './Loading.module.css'; -export default function Loading({ className }) { +function Loading({ className }) { return (
@@ -11,3 +12,9 @@ export default function Loading({ className }) {
); } + +Loading.propTypes = { + className: PropTypes.string, +}; + +export default Loading;