import List from '@mui/material/List'; import ListItemButton from '@mui/material/ListItemButton'; import ListItemText from '@mui/material/ListItemText'; import { styled } from '@mui/material/styles'; import Typography from '@mui/material/Typography'; import type { CommunityLinksSection } from '../../interface'; const StyledCommunitySection = styled('div')( ({ theme }) => ` width: 100%; display: flex; flex-direction: column; gap: 16px; color: ${theme.palette.secondary.main} `, ); interface CommunitySectionProps { section: CommunityLinksSection; } const CommunitySection = ({ section }: CommunitySectionProps) => { return ( {section.title} {section.links.map(link => ( ))} ); }; export default CommunitySection;