react-search-autocomplete
Version:
A search box for React
31 lines (30 loc) • 847 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultFuseOptions = exports.defaultTheme = void 0;
var defaultTheme = {
height: '44px',
border: '1px solid #dfe1e5',
borderRadius: '24px',
backgroundColor: 'white',
boxShadow: 'rgba(32, 33, 36, 0.28) 0px 1px 6px 0px',
hoverBackgroundColor: '#eee',
color: '#212121',
fontSize: '16px',
fontFamily: 'Arial',
iconColor: 'grey',
lineColor: 'rgb(232, 234, 237)',
placeholderColor: 'grey',
zIndex: 0,
clearIconMargin: '3px 14px 0 0',
searchIconMargin: '0 0 0 16px'
};
exports.defaultTheme = defaultTheme;
var defaultFuseOptions = {
shouldSort: true,
threshold: 0.6,
location: 0,
distance: 100,
minMatchCharLength: 1,
keys: ['name']
};
exports.defaultFuseOptions = defaultFuseOptions;
;