Skip to content
Permalink
Browse files
fix(form): updated TextField PropTypes to allow for search input type
  • Loading branch information
mlaursen committed Nov 22, 2020
1 parent 9cdc807 commit 23d92dd
Showing 1 changed file with 3 additions and 1 deletion.
@@ -35,7 +35,8 @@ export type SupportedInputTypes =
| "month"
| "week"
| "url"
| "color";
| "color"
| "search";

type TextFieldAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, "type">;

@@ -249,6 +250,7 @@ if (process.env.NODE_ENV !== "production") {
"week",
"url",
"color",
"search",
]),
style: PropTypes.object,
className: PropTypes.string,

0 comments on commit 23d92dd

Please sign in to comment.