-
Notifications
You must be signed in to change notification settings - Fork 17
/
WaitingToJoinView.js
40 lines (40 loc) · 1003 Bytes
/
WaitingToJoinView.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { ROBOTO_FONTS } from "../../../styles/fonts";
import { convertRFValue } from "../../../styles/spacing";
import React from "react";
import { Text, View } from "react-native";
import colors from "../../../styles/colors";
import Lottie from "lottie-react-native";
import joining_animation from "../../../assets/animation/joining_lottie.json";
export default function WaitingToJoinView() {
return (
<View
style={{
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
height: "100%",
width: "100%",
}}
>
<Lottie
source={joining_animation}
autoPlay
loop
style={{
height: 50,
width: 50,
}}
/>
<Text
style={{
fontSize: convertRFValue(18),
color: colors.primary[100],
fontFamily: ROBOTO_FONTS.RobotoBold,
marginTop: 28,
}}
>
Creating a room
</Text>
</View>
);
}