feat(theme-classic): allow passing tab label and default value through TabItem (#5442)

* Implement feature

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Dogfood edge case

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Correct keydown handling

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Update index.tsx

* Update markdown-features-tabs.mdx

* Update markdown-features-tabs.mdx

* polish tabs doc

* Update markdown-features-tabs.mdx

Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
Joshua Chen 2021-09-01 18:44:37 +08:00 committed by GitHub
parent 553f914639
commit 5f003bcabd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 199 additions and 166 deletions

View file

@ -69,7 +69,6 @@ html[data-theme='dark'] .header-github-link:before {
}
.unique-tabs .tabs__item {
height: 18px;
line-height: 16px;
margin-right: 8px;
}