Projetos
Ver no GitHub
rit3zh/toastiva
Sobre
🍞 Smooth morphing toasts for React Native
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +2
- em 15 dias
- +3
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalInstall
npx expo install react-native-gesture-handler react-native-reanimated react-native-worklets react-native-safe-area-context react-native-svg expo-blur
npm install toastiva
Android needs React Native 0.76+ with the New Architecture for the blur header.
Below that, toasts still render, just without the blur layer. iOS uses
expo-blur and is unaffected. Not built for React Native Web.
Quick start
import { GestureHandlerRootView } from "react-native-gesture-handler";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { ToastivaProvider, toastiva } from "toastiva";
export default function App() {
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<SafeAreaProvider>
<ToastivaProvider position="top-center">
<RootNavigator />
</ToastivaProvider>
</SafeAreaProvider>
</GestureHandlerRootView>
);
}
toastiva.success("Saved", { description: "Your changes are ready." });
Docs
Installation · Usage · Styling · Animations · API reference
Layout inspired by sileo.aaryan.design.
MIT © Ritesh
Explore projetos relacionados
Carregando…
