Skip to content

Commit

Permalink
New way to export modules
Browse files Browse the repository at this point in the history
  • Loading branch information
os-lmo committed Apr 1, 2019
1 parent 71df767 commit 21ea866
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/index.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,28 @@ import { components } from './components/index';
import { mergeStyles } from './styles';
import { defaultTheme } from './theme';

const SelectState = manageState(SelectBase);

/*
const Select = manageState(SelectBase);
Select.Async = Async;
Select.AsyncCreatable = AsyncCreatable;
Select.Creatable = Creatable;
Select.SelectBase = SelectBase;
Select.SelectState = SelectState;
Select.createFilter = createFilter;
Select.components = components;
Select.mergeStyles = mergeStyles;
Select.defaultTheme = defaultTheme;

export default Select;
*/
export default {
Async: Async,
AsyncCreatable: AsyncCreatable,
Creatable: Creatable,
SelectBase: SelectBase,
Select: SelectState,
createFilter: createFilter,
components: components,
mergeStyles: mergeStyles,
defaultTheme: defaultTheme
};

0 comments on commit 21ea866

Please sign in to comment.