elstat/priv/frontend/src/components/ServicePlaceholder.js

49 lines
1 KiB
JavaScript
Raw Normal View History

2018-07-16 04:04:43 +00:00
import React from 'react'
2018-07-14 01:43:10 +00:00
2018-07-16 04:04:43 +00:00
import ReactPlaceholder from 'react-placeholder'
import 'react-placeholder/lib/reactPlaceholder.css'
2018-07-14 01:43:10 +00:00
2018-07-16 04:04:43 +00:00
import './ServicePlaceholder.css'
2018-07-14 01:43:10 +00:00
2018-07-19 00:48:16 +00:00
export default function ServicePlaceholder () {
return (
<div className="service-placeholder">
<div className="title">
<ReactPlaceholder
type="round"
ready={false}
showLoadingAnimation
className="emoji"
>
{' '}
</ReactPlaceholder>
<ReactPlaceholder
type="rect"
ready={false}
showLoadingAnimation
className="name"
>
{' '}
</ReactPlaceholder>
</div>
2018-07-14 01:43:10 +00:00
<ReactPlaceholder
2018-07-19 00:48:16 +00:00
type="text"
2018-07-14 01:43:10 +00:00
ready={false}
2018-07-19 00:48:16 +00:00
rows={1}
2018-07-14 01:43:10 +00:00
showLoadingAnimation
2018-07-19 00:48:16 +00:00
className="text"
2018-07-14 01:43:10 +00:00
>
{' '}
</ReactPlaceholder>
<ReactPlaceholder
type="rect"
ready={false}
showLoadingAnimation
2018-07-19 00:48:16 +00:00
className="graph"
2018-07-14 01:43:10 +00:00
>
{' '}
</ReactPlaceholder>
</div>
2018-07-19 00:48:16 +00:00
)
}