Export components from index file

This commit is contained in:
Josh Johnson 2018-05-25 09:01:55 +01:00
parent 579138f756
commit b3956db628
5 changed files with 1044 additions and 1010 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,11 +1,8 @@
import Fuse from 'fuse.js';
import './lib/polyfills';
import Store from './store/store';
import Dropdown from './components/dropdown';
import Container from './components/container';
import Input from './components/input';
import List from './components/list';
import WrappedInput from './components/wrapped-input';
import WrappedSelect from './components/wrapped-select';
import { Dropdown, Container, Input, List, WrappedInput, WrappedSelect } from './components';
import { DEFAULT_CONFIG, DEFAULT_CLASSNAMES, EVENTS, KEY_CODES, SCROLLING_SPEED } from './constants';
import { TEMPLATES } from './templates';
import { addChoice, filterChoices, activateChoices, clearChoices } from './actions/choices';
@ -26,7 +23,6 @@ import {
regexFilter,
isIE11,
} from './lib/utils';
import './lib/polyfills';
/**
* Choices

View file

@ -0,0 +1,15 @@
import Dropdown from './dropdown';
import Container from './container';
import Input from './input';
import List from './list';
import WrappedInput from './wrapped-input';
import WrappedSelect from './wrapped-select';
export {
Dropdown,
Container,
Input,
List,
WrappedInput,
WrappedSelect,
};