ActionSheet for React NativeActionSheet for React Native
/
GitHubGitHub
/
  • Introduction
  • Installation
  • Basic usage
  • Guides
    • Usage with SheetManager
    • Passing data to ActionSheet
    • Using ActionSheet Router
    • Awaiting result from ActionSheet
    • Ref access from anywhere
    • Scrolling
    • FlashList
    • Background Interaction
    • Position tracking
    • Handling SafeArea
    • Navigation bar colors
    • Migrating Guide
  • Reference
    • ActionSheet props
    • ActionSheetRef
    • SheetManager
    • SheetProps
    • SheetProvider
    • registerSheet
    • ShowOptions
    • HideOptions
    • useRouter
    • useScrollHandlers
    • useSheetRouteParams
    • useSheetIDContext
    • useProviderContext
    • useSheetRef
    • useSheetPayload
    • Route
    • DraggableNodeOptions
    • Sheetdefinition
  • Introduction
  • Installation
  • Basic usage
  • Guides
    • Usage with SheetManager
    • Passing data to ActionSheet
    • Using ActionSheet Router
    • Awaiting result from ActionSheet
    • Ref access from anywhere
    • Scrolling
    • FlashList
    • Background Interaction
    • Position tracking
    • Handling SafeArea
    • Navigation bar colors
    • Migrating Guide
  • Reference
    • ActionSheet props
    • ActionSheetRef
    • SheetManager
    • SheetProps
    • SheetProvider
    • registerSheet
    • ShowOptions
    • HideOptions
    • useRouter
    • useScrollHandlers
    • useSheetRouteParams
    • useSheetIDContext
    • useProviderContext
    • useSheetRef
    • useSheetPayload
    • Route
    • DraggableNodeOptions
    • Sheetdefinition
Edit this page on GitHub
Reference
useSheetRef

useSheetRef

Returns the current sheet's ref.

// Some where in your sheet's component tree.
const ref = useSheetRef("example-sheet");
 
// Use methods on the current sheet.
ref.hide();
useProviderContext
useSheetPayload
MIT 2024 © Ammar Ahmed.