Skip to content

Commit

Permalink
fix: πŸ› [InputText] Restore onChange type definition
Browse files Browse the repository at this point in the history
βœ… Closes: 224
  • Loading branch information
luciob committed Nov 25, 2021
1 parent 2ae7206 commit 0778146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/InputText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export interface IInputText extends IInputField {
* Setup for multiline input: { rows: number, rowsMax?: number }
*/
multiline?: IMultilineInput;
onChange?: (value: string) => void;
// TODO: relaxing type def to IInput one -> onChange?: (value: any) => void;
// TODO: enforce type def in one of next releases
// onChange?: (value: string) => void;
value?: string;
}

0 comments on commit 0778146

Please sign in to comment.