Skip to content

Commit

Permalink
export hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ps.sergeev committed Oct 29, 2021
1 parent 20ea030 commit ad06889
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react-select/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Select from './Select';
import { GroupBase } from './types';
import useAsync from './useAsync';
import useCreatable from './useCreatable';
import useStateManager from './useStateManager';

export { default } from './stateManager';
export { default as NonceProvider } from './NonceProvider';
Expand All @@ -13,6 +16,7 @@ export type SelectInstance<
Group extends GroupBase<Option> = GroupBase<Option>
> = Select<Option, IsMulti, Group>;
export type { StateManagerProps as Props } from './useStateManager';
export { useAsync, useCreatable, useStateManager };

export type { SelectComponentsConfig } from './components';
export type {
Expand Down

0 comments on commit ad06889

Please sign in to comment.