プロジェクト
概要
🍞 Smooth morphing toasts for React Native
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- +2
- 15日間
- +3
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルInstall
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
関連プロジェクトを探す
読み込み中…
