pixel-react 1.15.1 → 1.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -859,11 +859,33 @@ interface InputProps {
859
859
  disableAfterMaxValueReached?: boolean;
860
860
  helperTextWidth?: string | number;
861
861
  fixedLabel?: boolean;
862
- isShowIcon?: boolean;
863
- onIconClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
864
- iconName?: string;
865
- iconToolTipTitle?: string;
866
- isIconDisable?: boolean;
862
+ iconProps?: {
863
+ /**
864
+ * Flag to determine if icon should be shown
865
+ */
866
+ isShowIcon?: boolean;
867
+ /**
868
+ * Function triggered when icon is clicked
869
+ */
870
+ onIconClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
871
+ /**
872
+ * Name of the icon to display
873
+ */
874
+ iconName?: string;
875
+ /**
876
+ * Tooltip title shown when hovering over icon
877
+ */
878
+ iconToolTipTitle?: string;
879
+ /**
880
+ * Flag to disable the icon
881
+ */
882
+ isIconDisable?: boolean;
883
+ iconColor?: string;
884
+ /**
885
+ * Show clear icon if true
886
+ */
887
+ isClearIcon?: boolean;
888
+ };
867
889
  }
868
890
 
869
891
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;