From 7c157a037074c136021211cbc79a4887d37b2ddd Mon Sep 17 00:00:00 2001 From: Mark Franceschelli <39063664+mfrances17@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:56:03 -0500 Subject: [PATCH] fix(DualListSelector): resolve tsc type issues (#11346) --- .../DualListSelector/DualListSelector.tsx | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/react-core/src/components/DualListSelector/DualListSelector.tsx b/packages/react-core/src/components/DualListSelector/DualListSelector.tsx index 042950db500..aca172e57eb 100644 --- a/packages/react-core/src/components/DualListSelector/DualListSelector.tsx +++ b/packages/react-core/src/components/DualListSelector/DualListSelector.tsx @@ -59,7 +59,7 @@ export interface DualListSelectorProps { addSelectedAriaLabel?: string; /** Tooltip content for the dynamically built add selected button */ addSelectedTooltip?: React.ReactNode; - /** Additonal tooltip properties for the dynamically built add selected tooltip */ + /** Additional tooltip properties for the dynamically built add selected tooltip */ addSelectedTooltipProps?: any; /** Callback fired every time dynamically built options are chosen or removed */ onListChange?: ( @@ -73,7 +73,7 @@ export interface DualListSelectorProps { addAllAriaLabel?: string; /** Tooltip content for the dynamically built add all button */ addAllTooltip?: React.ReactNode; - /** Additonal tooltip properties for the dynamically built add all tooltip */ + /** Additional tooltip properties for the dynamically built add all tooltip */ addAllTooltipProps?: any; /** Optional callback for the dynamically built remove selected button */ removeSelected?: (newAvailableOptions: React.ReactNode[], newChosenOptions: React.ReactNode[]) => void; @@ -81,7 +81,7 @@ export interface DualListSelectorProps { removeSelectedAriaLabel?: string; /** Tooltip content for the dynamically built remove selected button */ removeSelectedTooltip?: React.ReactNode; - /** Additonal tooltip properties for the dynamically built remove selected tooltip */ + /** Additional tooltip properties for the dynamically built remove selected tooltip */ removeSelectedTooltipProps?: any; /** Optional callback for the dynamically built remove all button */ removeAll?: (newAvailableOptions: React.ReactNode[], newChosenOptions: React.ReactNode[]) => void; @@ -89,7 +89,7 @@ export interface DualListSelectorProps { removeAllAriaLabel?: string; /** Tooltip content for the dynamically built remove all button */ removeAllTooltip?: React.ReactNode; - /** Additonal tooltip properties for the dynamically built remove all tooltip */ + /** Additional tooltip properties for the dynamically built remove all tooltip */ removeAllTooltipProps?: any; /** Optional callback fired when a dynamically built option is selected */ onOptionSelect?: ( @@ -286,8 +286,8 @@ class DualListSelector extends React.Component