Skip to content

Instantly share code, notes, and snippets.

Homebrew build logs for [email protected] on macOS 14
Build date: 2024-06-20 11:53:20
@tedlin182
tedlin182 / SidebarNav.js
Created November 8, 2022 18:39
General SidebarNav component with accordion toggle functionality
import { createContext, useContext, useState } from 'react'
import clsx from 'clsx'
// Styling
import styles from './SidebarNav.module.scss'
// Images
import ChevronIcon from '@/components/images/chevron-down.svg'
// Main