Remove access to full Sonner API for now

This commit is contained in:
Eric Bailey
2025-10-20 18:14:07 -05:00
parent 8bdaec64ee
commit 7c4811f136
3 changed files with 0 additions and 17 deletions
-7
View File
@@ -2,7 +2,6 @@ import React, {useSyncExternalStore} from 'react'
import {View} from 'react-native'
import {useSafeAreaInsets} from 'react-native-safe-area-context'
import {nanoid} from 'nanoid/non-secure'
import {toast as sonner} from 'sonner-native'
import {atoms as a} from '#/alf'
import {DURATION} from '#/components/Toast/const'
@@ -97,12 +96,6 @@ export function Outer({children}: {children: React.ReactNode}) {
)
}
/**
* Access the full Sonner API
* @deprecated TBD
*/
export const api = sonner
/**
* Our base toast API, using the `Toast` export of this file.
*/
-5
View File
@@ -34,11 +34,6 @@ export function Outer({children}: {children: React.ReactNode}) {
)
}
/**
* Access the full Sonner API
*/
export const api = sonner
/**
* Our base toast API, using the `Toast` export of this file.
*/
-5
View File
@@ -32,11 +32,6 @@ export function ToastOutlet() {
)
}
/**
* Access the full Sonner API
*/
export const api = sonner
/**
* Our base toast API, using the `Toast` export of this file.
*/