Skip to content

Commit

Permalink
Fix #7016: Revert CascadeSelect type for input (#7019)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Aug 10, 2024
1 parent bdf4a42 commit ecd4e96
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions components/lib/cascadeselect/cascadeselect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { CSSTransitionProps as ReactCSSTransitionProps } from 'react-transition-
import { APIOptions } from '../api/api';
import { ComponentHooks } from '../componentbase/componentbase';
import { CSSTransitionProps } from '../csstransition';
import { InputText, InputTextPassThroughOptions } from '../inputtext/inputtext';
import { PassThroughOptions } from '../passthrough';
import { SelectItemOptionsType } from '../selectitem/selectitem';
import { IconType, PassThroughType } from '../utils/utils';
Expand Down Expand Up @@ -78,7 +77,7 @@ export interface CascadeSelectPassThroughOptions {
/**
* Uses to pass attributes to the input's DOM element.
*/
input?: InputTextPassThroughOptions;
input?: CascadeSelectPassThroughType<React.HTMLAttributes<HTMLInputElement>>;
/**
* Uses to pass attributes to the label's DOM element.
*/
Expand Down Expand Up @@ -353,9 +352,9 @@ export declare class CascadeSelect extends React.Component<CascadeSelectProps, a
public getElement(): HTMLDivElement;
/**
* Used to get input element.
* @return {InputText} Input element
* @return {HTMLInputElement} Input element
*/
public getInput(): typeof InputText;
public getInput(): HTMLInputElement;
/**
* Used to get overlay element.
* @return {HTMLElement} Overlay element
Expand Down

0 comments on commit ecd4e96

Please sign in to comment.