-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
Description
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
The following code failing with error Type 'undefined' is not assignable to type '"outlined"'
const textFieldProps: Partial<TextFieldProps> = { }
<TextField value="" onChange={console.log} {...textFieldProps} />Expected Behavior 🤔
No errors
Steps to Reproduce 🕹
https://codesandbox.io/s/gallant-hermann-k06ld?file=/src/index.tsx
Context 🔦
This loc should have ?
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.9.11 |
| TypeScript | v3.8.3 |
| etc. |