src/components/sidebar-stack/context.tsx'use client'import {createContext,useContext,useState,useCallback,useRef,type ReactNode,} from 'react'export interface SidebarItem {id: stringtitle: stringcomponentId: stringurl?: string/** Whether to show title immediately or fade in on scroll. Default is false (hidden initially) */showTitleImmediately?: boolean}
Showing the first 20 lines.
Get full code