import * as React from 'react'; import Box from '@mui/joy/Box'; import List from '@mui/joy/List'; import ListItem from '@mui/joy/ListItem'; import ListItemButton, { listItemButtonClasses } from '@mui/joy/ListItemButton'; import IconButton from '@mui/joy/IconButton'; import Typography from '@mui/joy/Typography'; import ReceiptLong from '@mui/icons-material/ReceiptLong'; import KeyboardArrowDown from '@mui/icons-material/KeyboardArrowDown'; export default function ExampleCollapsibleList() { const [open, setOpen] = React.useState(false); const [open2, setOpen2] = React.useState(false); return ( ({ // Gatsby colors '--joy-palette-primary-plainColor': '#8a4baf', '--joy-palette-neutral-plainHoverBg': 'transparent', '--joy-palette-neutral-plainActiveBg': 'transparent', '--joy-palette-primary-plainHoverBg': 'transparent', '--joy-palette-primary-plainActiveBg': 'transparent', [theme.getColorSchemeSelector('dark')]: { '--joy-palette-text-secondary': '#635e69', '--joy-palette-primary-plainColor': '#d48cff', }, '--List-insetStart': '32px', '--ListItem-paddingY': '0px', '--ListItem-paddingRight': '16px', '--ListItem-paddingLeft': '21px', '--ListItem-startActionWidth': '0px', '--ListItem-startActionTranslateX': '-50%', [`& .${listItemButtonClasses.root}`]: { borderLeftColor: 'divider', }, [`& .${listItemButtonClasses.root}.${listItemButtonClasses.selected}`]: { borderLeftColor: 'currentColor', }, '& [class*="startAction"]': { color: 'var(--joy-palette-text-tertiary)', }, })} > }> Documentation Overview Quick Start setOpen(!open)} > } > Tutorial 9 {open && ( Overview 0. Set Up Your Development Environment 1. Create and Deploy Your First Gatsby Site 2. Use and Style React components )} setOpen2((bool) => !bool)} > } > How-to Guides 39 {open2 && ( Overview Local Development Routing Styling )} ); }