import { IconBook, IconCode, IconComponents, IconGitPullRequest, IconTool, } from '@tabler/icons-react'; import { Theme } from '@/app/_components/ui/theme/theme'; export const getSectionIcon = (section: string): JSX.Element => { const iconSize = Theme.icon.size.md; const sectionIcons: Record = { 'Getting started': , Contributing: , Extending: , Components: , Developers: , }; for (const key of Object.keys(sectionIcons)) { if (section.includes(key)) { return sectionIcons[key]; } } return ; };