diff options
Diffstat (limited to 'vnext/src/components/Spinner.js')
-rw-r--r-- | vnext/src/components/Spinner.js | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/vnext/src/components/Spinner.js b/vnext/src/components/Spinner.js deleted file mode 100644 index e866369f..00000000 --- a/vnext/src/components/Spinner.js +++ /dev/null @@ -1,42 +0,0 @@ -import React from 'react'; -import ContentLoader from 'react-content-loader'; - -function Spinner(props) { - return ( - <div className="msg-cont"> - <div className="msg-txt"> - <ContentLoader - speed={2} - primaryColor="#f8f8f8" - secondaryColor="#ecebeb" - {...props}> - <rect x="56" y="6" rx="0" ry="0" width="117" height="6.4" /> - <rect x="56" y="20" rx="0" ry="0" width="85" height="6.4" /> - <rect x="0" y="60" rx="0" ry="0" width="270" height="6.4" /> - <rect x="0" y="78" rx="0" ry="0" width="270" height="6.4" /> - <rect x="0" y="96" rx="0" ry="0" width="201" height="6.4" /> - <rect x="0" y="0" rx="0" ry="0" width="48" height="48" /> - <rect x="0" y="120" rx="0" ry="0" width="270" height="1" /> - </ContentLoader> - </div> - </div> - ); -} - -export default React.memo(Spinner); - -export function ChatSpinner(props) { - return ( - <ContentLoader - speed={2} - primaryColor="#f8f8f8" - secondaryColor="#ecebeb" - height="60px" - width="120px" - {...props}> - <rect x="56" y="6" rx="0" ry="0" width="117" height="6.4" /> - <rect x="56" y="20" rx="0" ry="0" width="85" height="6.4" /> - <rect x="0" y="0" rx="0" ry="0" width="48" height="48" /> - </ContentLoader> - ); -} |