aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Spinner.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-07 14:36:45 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit477b6deb29bf5ea6dd6adba62205cd10fcf9c36d (patch)
tree6b7c31195febe0d108b26ada1d9d443aa8eee894 /vnext/src/components/Spinner.js
parent6ecedec4983b00674089d07b55122b545d017688 (diff)
Chat spinner and styling
Diffstat (limited to 'vnext/src/components/Spinner.js')
-rw-r--r--vnext/src/components/Spinner.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/vnext/src/components/Spinner.js b/vnext/src/components/Spinner.js
index a11426df..fffa2c80 100644
--- a/vnext/src/components/Spinner.js
+++ b/vnext/src/components/Spinner.js
@@ -20,3 +20,19 @@ export default function Spinner(props) {
</div>
);
}
+
+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>
+ );
+}