message loader

This commit is contained in:
2025-10-06 16:23:13 +02:00
parent bf0184d16c
commit 8537673144
4 changed files with 74 additions and 15 deletions
+30
View File
@@ -0,0 +1,30 @@
import { View } from "react-native";
import { LoaderIndicator } from "../providers/LoadingProvider";
export default ({
message,
defaultMessage = "Chargement...",
containerStyle = {},
indicatorProps = {},
messageStyle = {},
}) => {
return (
<View
style={[
{
alignItems: "center",
justifyContent: "center",
},
containerStyle,
]}
>
<LoaderIndicator
message={message}
defaultMessage={defaultMessage}
messageStyle={messageStyle}
indicatorProps={indicatorProps}
/>
</View>
);
};