diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-10 15:06:29 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-10 15:06:29 -0400 |
| commit | e0c628528142f26ce9a42ba4c3c5d2cb41114a56 (patch) | |
| tree | 902a7c32978efc4d94d945c50f9378db36040aa5 /frontend/components/LoadingItem.js | |
| parent | c832accab191190d93c470a622651b6ac6699ddd (diff) | |
migrate styles
Diffstat (limited to 'frontend/components/LoadingItem.js')
| -rw-r--r-- | frontend/components/LoadingItem.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/frontend/components/LoadingItem.js b/frontend/components/LoadingItem.js new file mode 100644 index 0000000..5ba78d8 --- /dev/null +++ b/frontend/components/LoadingItem.js @@ -0,0 +1,28 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import Link from 'next/link'; +import Title from './styles/Title'; +import AddToCart from './AddToCart'; +import DeleteItem from './DeleteItem'; +import formatMoney from '../lib/formatMoney'; +import ItemStyles from './styles/ItemStyles'; +import PriceTag from './styles/PriceTag'; + +class LoadingItem extends React.Component { + render() { + return ( + <ItemStyles> + <img + src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" + alt="Loading..." + />> + <Title> + <a>Loading...</a> + </Title> + <p>Please Wait</p> + </ItemStyles> + ); + } +} + +export default LoadingItem; |
