Skip to content

Commit

Permalink
react-select: use export default to match library (DefinitelyTyped#9100)
Browse files Browse the repository at this point in the history
* Update react-select to export Select by default

* Update react-select tests to match
  • Loading branch information
lediur authored and vvakame committed Apr 25, 2016
1 parent 6adcd02 commit 1f17720
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion react-select/react-select-tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as React from "react";
import * as ReactDOM from "react-dom";

import * as Select from "react-select";
import Select from "react-select";

class SelectTest extends React.Component<React.Props<{}>, {}> {

Expand Down
2 changes: 1 addition & 1 deletion react-select/react-select.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,5 @@ declare namespace ReactSelect {

declare module "react-select" {
const select: ReactSelect.ReactSelectClass;
export = select;
export default select;
}

0 comments on commit 1f17720

Please sign in to comment.