tabs
tabs copied to clipboard
React tabs with hooks
Finished @jeetiss work. **Changes** * Use [`tsdx`](https://github.com/jaredpalmer/tsdx). This results in dropping direct dev-dependencies like `eslint`, `@babel`, `@rollup` * Main `index.js` migrated to `index.tsx` * `index.js` test migrated to TypeScript *...
Hello, I found the following error implemented the Tabs, my code is as follows: React Version: ``` json "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "3.4.1", ``` ``` bash Warning: React does...
when using the example from the readme non of the panels content is visible unless you click on one of the tabs. how to you show a panel by default?
BREAKING CHANGE: move library to ts
The Tabs component is using the "method definition shorthand syntax" which isn't supported by IE11, see property "children" . `export const Tabs = ({ state: outerState, children }) => {...
Because typing is mainstream now
Tabs and panels in `Elements` context are now only being incremented. So I tried to dynamically manage number of tabs and faced the issue when I close the tab (remove...
Example ```jsx bar foo Foo Bar ```
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@testing-library/react](https://togithub.com/testing-library/react-testing-library) | [`9.5.0` -> `14.2.2`](https://renovatebot.com/diffs/npm/@testing-library%2freact/9.5.0/14.2.2) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`6.8.0` -> `8.57.0`](https://renovatebot.com/diffs/npm/eslint/6.8.0/8.57.0) |...