From 595b6ccc56f761e7930e57b7f0c1049297313c26 Mon Sep 17 00:00:00 2001 From: KJ Monahan Date: Tue, 1 Aug 2023 16:11:12 -0500 Subject: [PATCH 1/3] Fix typing on StyledSelect --- .../{DropdownOption.tsx => DropdownOption.ts} | 0 .../StyledSelect/StyledDropdownIndicator.tsx | 8 ++------ .../source/03-components/StyledSelect/StyledSelect.tsx | 8 +++++--- 3 files changed, 7 insertions(+), 9 deletions(-) rename services/app/source/03-components/StyledSelect/{DropdownOption.tsx => DropdownOption.ts} (100%) diff --git a/services/app/source/03-components/StyledSelect/DropdownOption.tsx b/services/app/source/03-components/StyledSelect/DropdownOption.ts similarity index 100% rename from services/app/source/03-components/StyledSelect/DropdownOption.tsx rename to services/app/source/03-components/StyledSelect/DropdownOption.ts diff --git a/services/app/source/03-components/StyledSelect/StyledDropdownIndicator.tsx b/services/app/source/03-components/StyledSelect/StyledDropdownIndicator.tsx index 914b064f..221f3790 100644 --- a/services/app/source/03-components/StyledSelect/StyledDropdownIndicator.tsx +++ b/services/app/source/03-components/StyledSelect/StyledDropdownIndicator.tsx @@ -10,12 +10,8 @@ import DropdownOption from './DropdownOption'; * @see https://react-select.com/components#replacing-components * @param props */ -function StyledDropdownIndicator( - props: DropdownIndicatorProps< - DropdownOption, - boolean, - GroupBase - >, +function StyledDropdownIndicator