⚠️ Important: You must wrap your app with
SmacOverlayProviderto useuseGlobalOverlay. More:Installation.

import { useGlobalOverlay } from "@smartacteam/react-native-ui";
import { Button, useGlobalOverlay } from '@smartacteam/react-native-ui'; export default function BasicTabs() { const { showToast } = useGlobalOverlay(); return ( <> <Button variant="secondary" label="Show Dialog" onPress={() => { showToast({title:'Pablo', description:'wsfegf', variant:'primary', leftIcon: "bell" }) }} /> </> ); }
<Toast title="This is the primary toast!" description="This is a toast description" variant='primary' leftIcon="bell" />
You can view ToastOptions on useGlobalOverlay page