diff --git a/components/lib/multiselect/MultiSelectHeader.js b/components/lib/multiselect/MultiSelectHeader.js index 303d68bd5d..415f9d8744 100644 --- a/components/lib/multiselect/MultiSelectHeader.js +++ b/components/lib/multiselect/MultiSelectHeader.js @@ -117,7 +117,7 @@ export const MultiSelectHeader = React.memo((props) => { { className: cx('headerCheckboxIcon') }, - getPTOptions('headerCheckboxIcon') + getPTOptions('headerCheckbox.icon') ); const headerCheckboxContainerProps = mergeProps( diff --git a/components/lib/multiselect/MultiSelectItem.js b/components/lib/multiselect/MultiSelectItem.js index 36d073c371..2e03e3aa9c 100644 --- a/components/lib/multiselect/MultiSelectItem.js +++ b/components/lib/multiselect/MultiSelectItem.js @@ -46,7 +46,7 @@ export const MultiSelectItem = React.memo((props) => { { className: cx('checkboxIcon') }, - getPTOptions('checkboxIcon') + getPTOptions('checkbox.icon') ); const icon = props.checkboxIcon || ; diff --git a/components/lib/multiselect/multiselect.d.ts b/components/lib/multiselect/multiselect.d.ts index 5d214070f9..3d51df033c 100644 --- a/components/lib/multiselect/multiselect.d.ts +++ b/components/lib/multiselect/multiselect.d.ts @@ -96,10 +96,6 @@ export interface MultiSelectPassThroughOptions { * Uses to pass attributes to the header checkbox's container DOM element. */ headerCheckboxContainer?: MultiSelectPassThroughType>; - /** - * Uses to pass attributes to the header checkbox icon's DOM element. - */ - headerCheckboxIcon?: MultiSelectPassThroughType | React.HTMLAttributes>; /** * Uses to pass attributes to the header checkbox's DOM element. */ @@ -152,11 +148,7 @@ export interface MultiSelectPassThroughOptions { /** * Uses to pass attributes to the checkbox's DOM element. */ - checkbox?: MultiSelectPassThroughType>; - /** - * Uses to pass attributes to the checkbox icon's DOM element. - */ - checkboxIcon?: MultiSelectPassThroughType | React.HTMLAttributes>; + checkbox?: CheckboxPassThroughOptions; /** * Uses to pass attributes to the emptyMessage's DOM element. */