Skip to content

Commit 2285401

Browse files
committed
Use auto focus and trend preload in the example.
1 parent abc4574 commit 2285401

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example/src/example.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ class ExampleApp extends React.Component<IExampleProps, IExampleState> {
8282
onGifSelected={this.onGifSelected}
8383
rating={Rating.G}
8484
limit={40}
85+
queryFormAutoFocus={true}
86+
preloadTrending={true}
8587
queryFormInputClassName={customStyle.customQueryFormInput}
8688
queryFormSubmitClassName={customStyle.customQueryFormSubmit}
8789
searchResultsClassName={customStyle.customSearchResults}

0 commit comments

Comments
 (0)