upd: tampilan

Deskripsi:
- toast
- firebase

No Issues
This commit is contained in:
2025-07-28 17:56:42 +08:00
parent 8a085ced45
commit 86a80213ca
10 changed files with 69 additions and 28 deletions

View File

@@ -0,0 +1,16 @@
import Styles from "@/constants/Styles";
import { View } from "react-native";
import Toast from "react-native-toast-message";
import Text from "./Text";
export default function ToastCustom() {
return (
<Toast autoHide onPress={() => Toast.hide()} visibilityTime={1500} position="bottom" config={{
small: ({ text1 }) => (
<View style={[Styles.toastContainer]}>
<Text style={{ fontSize: 12 }}>{text1}</Text>
</View>
)
}} />
)
}