react-bootstrap-typeahead
Version:
React typeahead with Bootstrap styling
6 lines (5 loc) • 299 B
JavaScript
import React, { forwardRef } from 'react';
import { useAsync } from '../../behaviors/async';
import TypeaheadComponent from '../Typeahead';
const AsyncTypeahead = forwardRef((props, ref) => (React.createElement(TypeaheadComponent, { ...useAsync(props), ref: ref })));
export default AsyncTypeahead;