Skip to content

Commit

Permalink
Rename SnackbarWithSafeAreaProvider to SnackbarProviderWithSafeArea
Browse files Browse the repository at this point in the history
Co-authored-by: Tim R <TimRoe@users.noreply.github.com>
  • Loading branch information
narin and TimRoe authored Aug 15, 2024
1 parent 7ff6607 commit c8bae3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/components/Snackbar/Snackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export type SnackbarProps = Omit<ToastProps, 'data' | 'message'> &
*
* **Note:** The snackbar requires [react-native-safe-area-context](https://github.com/th3rdwave/react-native-safe-area-context).
* SnackbarProvider should be placed within SafeAreaProvider. If you do not have a SafeAreaProvider, you can use
* SnackbarWithSafeAreaProvider instead.
* SnackbarProviderWithSafeArea instead.
*
* Then within any component, import the `useSnackbar` hook and use the .show() or .hide()
* methods to display a Snackbar:
Expand Down

0 comments on commit c8bae3b

Please sign in to comment.