From 6a1686f55f2148248c6e6ecf2a92e04d9c70af5b Mon Sep 17 00:00:00 2001 From: Mark Franceschelli <39063664+mfrances17@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:10:32 -0500 Subject: [PATCH] fix(DualListSelector): Resolve tsc type issues in PF6 (#11360) --- .../DualListSelector/DualListSelector.tsx | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/react-core/src/deprecated/components/DualListSelector/DualListSelector.tsx b/packages/react-core/src/deprecated/components/DualListSelector/DualListSelector.tsx index 04475a5f8d5..a73616c7bbe 100644 --- a/packages/react-core/src/deprecated/components/DualListSelector/DualListSelector.tsx +++ b/packages/react-core/src/deprecated/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