Skip to content

Commit

Permalink
fix: [Input] update enterKeyHint's type
Browse files Browse the repository at this point in the history
  • Loading branch information
akai committed Dec 15, 2020
1 parent 3438195 commit a880eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type InputProps = {
multiline?: boolean;
autoSize?: boolean;
disabled?: boolean;
enterKeyHint?: string;
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
onChange?: (
value: string,
event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
Expand Down

0 comments on commit a880eac

Please sign in to comment.