sanusart / react-dropdown-select

Customisable dropdown select for react
https://react-dropdown-select.netlify.app/
MIT License
352 stars 82 forks source link

FIX (types): doesn't use default import for React #246

Closed nix6839 closed 2 years ago

nix6839 commented 2 years ago

If use below config in typescript, can not import React as default.

    "esModuleInterop": false,
    "allowSyntheticDefaultImports": false,

This PR fixes that.

codesandbox-ci[bot] commented 2 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2ae16d078a5f22139ea91d99867c589ac3034b1d:

Sandbox Source
react-dropdown-select Configuration
sanusart commented 2 years ago

Thank you