From 6dc5c67d8b53a1ea8eadccaaf4cebcc515781663 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Thu, 27 Apr 2023 06:25:29 -0500 Subject: [PATCH] chore: rename section dropdown group to section dropdown option --- src/app/components/SectionDropdown.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/components/SectionDropdown.tsx b/src/app/components/SectionDropdown.tsx index f188cd3..e31e155 100644 --- a/src/app/components/SectionDropdown.tsx +++ b/src/app/components/SectionDropdown.tsx @@ -2,7 +2,7 @@ import { Fragment } from 'react'; import { Doc, DocsStructure } from '../types/types'; import styles from './SectionDropdown.module.css'; -function SectionDropdownGroup({ doc }: { doc: Doc }) { +function SectionDropdownOption({ doc }: { doc: Doc }) { return ( {doc.copy && doc.example && ( @@ -50,7 +50,10 @@ export default function SectionDropdown({ > {version.docs.map(doc => { return ( - + ); })}