Skip to content

Commit

Permalink
Merge pull request #423 from Yoctol/fix/textfield-optional-type
Browse files Browse the repository at this point in the history
fix(textfield): optional type
  • Loading branch information
jigsawye authored Feb 4, 2020
2 parents fb41031 + 77c8091 commit 7cbd0db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tailor-ui/src/TextField/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ export interface TextFieldProps {
maxLength?: number;
textarea?: boolean;
disabled?: boolean;
autoSelect: boolean;
autoFocus: boolean;
autoSelect?: boolean;
autoFocus?: boolean;
onChange?:
| ChangeEventHandler<HTMLInputElement>
| FormEventHandler<HTMLTextAreaElement>;
onPressEnter?: KeyboardEventHandler<HTMLInputElement>;
onBlur: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
}

const TextField: FC<TextFieldProps> = ({
Expand Down

0 comments on commit 7cbd0db

Please sign in to comment.