MCPcopy
hub / github.com/nolly-studio/cult-ui / useFamilyDrawer

Function useFamilyDrawer

apps/www/registry/default/ui/family-drawer.tsx:45–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43)
44
45function useFamilyDrawer() {
46 const context = useContext(FamilyDrawerContext)
47 if (!context) {
48 throw new Error(
49 "FamilyDrawer components must be used within FamilyDrawerRoot"
50 )
51 }
52 return context
53}
54
55// ============================================================================
56// Root Component

Callers 15

CustomDefaultViewFunction · 0.90
CustomSettingsViewFunction · 0.90
CustomProfileViewFunction · 0.90
CustomAboutViewFunction · 0.90
ComposableViewFunction · 0.90
View1Function · 0.90
View2Function · 0.90
View3Function · 0.90
MinimalViewFunction · 0.90
FileUploadDefaultViewFunction · 0.90
FilePreviewViewFunction · 0.90
FileEditMetadataViewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected