- Add a no result screen. Fixes #92 - Change class prefix. Fixes #102 - Add a transformData option - Add searchBox option - Add a layout option
10 lines
227 B
JavaScript
10 lines
227 B
JavaScript
import docsearch from '../index.js';
|
|
|
|
docsearch({
|
|
apiKey: 'e3d767b736584dbe6d4c35f7cf7d4633',
|
|
indexName: 'react-native',
|
|
inputSelector: '#search-input',
|
|
debug: true
|
|
});
|
|
|
|
document.getElementById('search-input').focus();
|