Lack of autocompletion for String Literal Types in React Components Permanently deleted user Created November 04, 2017 21:47 As it works just fine for normal function inputs I consider this as a bug.
Logged as https://youtrack.jetbrains.com/issue/WEB-29570, please follow it for updates