You need to sign in or sign up before continuing.
Commit f11d4387 by G

message props

parent 1912d793
import Box from "@components/bases/Box";
import { ActivityIndicator, Text } from "react-native";
const LoadingModal = () => {
interface Props {
message?: string;
}
const LoadingModal = ({ message = "Veuillez patienter..." }: Props) => {
return (
<Box
width={300}
......@@ -20,7 +24,7 @@ const LoadingModal = () => {
shadowOpacity={0.5}
>
<ActivityIndicator size={"large"} />
<Text>Veuillez patienter</Text>
<Text>{message}</Text>
</Box>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment