diff --git a/src/index.d.ts b/src/index.d.ts index 8fb7135..f51bb5a 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -64,6 +64,10 @@ declare module 'material-ui-search-bar' { * The value of the text field. */ value?: string; + /** + * Whether to focus SearchBar on render. + */ + autoFocus?: boolean; } const SearchBar: React.ComponentType;