forked from JedWatson/react-select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.umd.js
28 lines (23 loc) · 972 Bytes
/
index.umd.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This file exists as an entry point for bundling our umd builds.
// Both in rollup and in webpack, umd builds built from es6 modules are not
// compatible with mixed imports (which exist in index.js)
// This file does away with named imports in favor of a single export default.
import SelectBase from './Select';
import manageState from './stateManager';
import Async from './Async';
import AsyncCreatable from './AsyncCreatable';
import Creatable from './Creatable';
import { createFilter } from './filters';
import { components } from './components/index';
import { mergeStyles } from './styles';
import { defaultTheme } from './theme';
const Select = manageState(SelectBase);
Select.Async = Async;
Select.AsyncCreatable = AsyncCreatable;
Select.Creatable = Creatable;
Select.SelectBase = SelectBase;
Select.createFilter = createFilter;
Select.components = components;
Select.mergeStyles = mergeStyles;
Select.defaultTheme = defaultTheme;
export default Select;