feat: Implement Algolia DocSearch, update build configurations, and refine UI components.
This commit is contained in:
4
components/contexts/AccordionContext.ts
Normal file
4
components/contexts/AccordionContext.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
// Create a context to check if a component is inside an accordion group
|
||||
export const AccordionGroupContext = createContext<{ inGroup: boolean } | null>(null);
|
||||
Reference in New Issue
Block a user