add front-urban

This commit is contained in:
Valentin Romero
2026-06-30 22:08:11 -03:00
parent 25d4ba6cc0
commit 03294769a4
266 changed files with 38239 additions and 0 deletions
@@ -0,0 +1,21 @@
// React Imports
import { useContext } from 'react'
// Type Imports
import type { VerticalMenuContextProps } from '../components/vertical-menu/Menu'
// Context Imports
import { VerticalMenuContext } from '../components/vertical-menu/Menu'
const useVerticalMenu = (): VerticalMenuContextProps => {
// Hooks
const context = useContext(VerticalMenuContext)
if (context === undefined) {
throw new Error('Menu Component is required!')
}
return context
}
export default useVerticalMenu