Skip to content

autoFocus is a unknown ListItem property in TypeScript since 4.0 #16189

@deutekom

Description

@deutekom

Steps to Reproduce 🕹

Just create a TypeScript-Project with "create-react-app". Add a List and a ListItem and und give the ListItem an autoFocus-attribute. TypeScript mark this attribute as an unknown property.

I wanted to provide a code example with codesandbox.io, but it works there :-/

Tech Version
Material-UI v4.1.0
React v16.8
TypeScript 3.4.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGreat for first contributions. Enable to learn the contribution process.typescript

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions