Skip to content

Commit f3327f7

Browse files
author
Kubit
committed
Add deprecated prop documentation
1 parent b7a1d00 commit f3327f7

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

src/components/inputDropdown/hooks/useInputDropdown.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ type ParamsType = {
5353
value?: string;
5454
styles: InputDropdownStylesProps;
5555
disabled?: boolean;
56+
/**
57+
* @deprecated
58+
* @description This prop is deprecated and will be removed in the next major version.
59+
*/
5660
clearTextInputPopoverIconClick?: boolean;
5761
error?: boolean;
5862
informationAssociated?: string;

src/components/inputDropdown/types/inputDropdown.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ export interface IInputDropdownStandAlone
144144
inputPopoverRightIcon?: IElementOrIcon;
145145
inputPopoverValue?: string;
146146
inputPopoverVariant?: string;
147+
/**
148+
* @deprecated
149+
* @description This prop is deprecated and will be removed in the next major version.
150+
*/
147151
clearTextInputPopoverIconClick?: boolean;
148152
// Functions
149153
onOpenOptions: (value: boolean) => void;

src/components/inputSearch/hooks/useInputSearch.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ type ParamsType = {
5555
error?: boolean;
5656
hasResultTextWrittenByUser?: boolean;
5757
disableErrorInvalidOption?: boolean;
58+
/**
59+
* @deprecated
60+
* @description This prop is deprecated and will be removed in the next major version.
61+
*/
5862
clearTextInputPopoverIconClick?: boolean;
5963
highlightedOption?: string;
6064
informationAssociated?: string;

src/components/inputSearch/types/inputSearch.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ export interface IInputSearch<V = undefined extends string ? unknown : string>
229229
regex?: string | RegExp;
230230
internalErrorExecution?: INTERNAL_ERROR_EXECUTION;
231231
onClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
232+
/**
233+
* @deprecated
234+
* @description This prop is deprecated and will be removed in the next major version.
235+
*/
232236
clearTextInputPopoverIconClick?: boolean;
233237
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
234238
onInputPopoverIconClick?: () => void;

0 commit comments

Comments
 (0)