Commit 1337e36
authored
feat(Tabs): add the option to disable the Add button (#11872)
* feat(Tabs): add the option to disable the Add button
The button in the Tabs component for adding new tabs can now get disabled if the isAddButtonDisabeled prop is set.
* fix(Tabs): fix switched descriptions of addButtonAriaLabel and isAddButtonDisabled1 parent 96fdb62 commit 1337e36
File tree
2 files changed
+26
-0
lines changed- packages/react-core/src/components/Tabs
- __tests__
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
464 | 466 | | |
465 | 467 | | |
466 | 468 | | |
| 469 | + | |
467 | 470 | | |
468 | 471 | | |
469 | 472 | | |
| |||
631 | 634 | | |
632 | 635 | | |
633 | 636 | | |
| 637 | + | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
0 commit comments