Skip to content

Commit

Permalink
Fix #5283: InputText size TS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Nov 10, 2023
1 parent cbf24a2 commit 4240ab6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/lib/inputtext/inputtext.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ export interface InputTextContext {
* Defines valid properties in InputText component. In addition to these, all properties of HTMLInputElement can be used in this component.
* @group Properties
*/
export interface InputTextProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onInput' | 'ref' | 'value'> {
export interface InputTextProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onInput' | 'ref' | 'value' | 'size'> {
/**
* Format definition of the keys to block.
*/
keyfilter?: KeyFilterType;
/**
* Size of the input.
*/
size?: number | string;
/**
* Content of the tooltip.
*/
Expand Down

0 comments on commit 4240ab6

Please sign in to comment.