fix(dev): Fixed the dev example, targeting an existing index
This commit is contained in:
parent
31e5d139d5
commit
df13e343fd
1 changed files with 6 additions and 3 deletions
|
|
@ -1,9 +1,12 @@
|
||||||
import docsearch from '../index.js';
|
import docsearch from '../index.js';
|
||||||
|
|
||||||
docsearch({
|
docsearch({
|
||||||
apiKey: '52a6d7ab710fcef44537c3cff5290e55',
|
apiKey: 'e3d767b736584dbe6d4c35f7cf7d4633',
|
||||||
indexName: 'tim_stripe',
|
indexName: 'react-native',
|
||||||
inputSelector: '#search-input'
|
inputSelector: '#search-input',
|
||||||
|
autocompleteOptions: {
|
||||||
|
debug: true
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('search-input').focus();
|
document.getElementById('search-input').focus();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue