diff --git a/.babelrc.js b/.babelrc.js index b10eab046b..e7a3c19095 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -23,6 +23,7 @@ const options = { [ '@babel/env', { + bugfixes: true, loose: true, modules, targets, diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 0000000000..55ae8fde69 --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,6 @@ +> 0.3% +last 2 versions +Firefox ESR +not dead +not Android <5 +maintained node versions \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8c4e7b6f3a..e1b3410040 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,5 @@ coverage/ node_modules/ npm-debug.log lib/ -dist/ esm/ yarn-error.log diff --git a/README.md b/README.md index 992e84b67f..dd785a6316 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ An accessible and easy tab component for ReactJS. https://reactcommunity.org/react-tabs/ -> Version 5 of `react-tabs` needs react version 18 or newer -> +> Version 5 or newer of `react-tabs` needs react version 18 or newer +> > Version 4 of `react-tabs` needs react version 16.8 or newer

react-tabs was tested on real mobile devices and browsers with
@@ -25,17 +25,6 @@ or npm install --save react-tabs ``` -You can also use react-tabs directly as UMD build in an HTML document by adding - -```html -