@@ -33,7 +33,7 @@ export default {
33
33
34
34
export const DefaultNav = ( ) => {
35
35
return (
36
- < UnderlineNav ariaLabel = "Repository" >
36
+ < UnderlineNav aria-label = "Repository" >
37
37
< UnderlineNav . Item selected > Code</ UnderlineNav . Item >
38
38
< UnderlineNav . Item > Issues</ UnderlineNav . Item >
39
39
< UnderlineNav . Item > Pull Requests</ UnderlineNav . Item >
@@ -43,7 +43,7 @@ export const DefaultNav = () => {
43
43
44
44
export const withIcons = ( ) => {
45
45
return (
46
- < UnderlineNav ariaLabel = "Repository with icons" >
46
+ < UnderlineNav aria-label = "Repository with icons" >
47
47
< UnderlineNav . Item icon = { CodeIcon } > Code</ UnderlineNav . Item >
48
48
< UnderlineNav . Item icon = { EyeIcon } counter = { 6 } >
49
49
Issues
@@ -61,7 +61,7 @@ export const withIcons = () => {
61
61
62
62
export const withCounterLabels = ( ) => {
63
63
return (
64
- < UnderlineNav ariaLabel = "Repository with counters" >
64
+ < UnderlineNav aria-label = "Repository with counters" >
65
65
< UnderlineNav . Item selected icon = { CodeIcon } >
66
66
Code
67
67
</ UnderlineNav . Item >
@@ -88,7 +88,7 @@ export const InternalResponsiveNav = () => {
88
88
const [ selectedIndex , setSelectedIndex ] = React . useState < number | null > ( 1 )
89
89
90
90
return (
91
- < UnderlineNav ariaLabel = "Repository" >
91
+ < UnderlineNav aria-label = "Repository" >
92
92
{ items . map ( ( item , index ) => (
93
93
< UnderlineNav . Item
94
94
key = { item . navigation }
@@ -108,7 +108,7 @@ export const CountersLoadingState = () => {
108
108
const [ selectedIndex , setSelectedIndex ] = React . useState < number | null > ( 1 )
109
109
110
110
return (
111
- < UnderlineNav ariaLabel = "Repository with loading counters" loadingCounters = { true } >
111
+ < UnderlineNav aria-label = "Repository with loading counters" loadingCounters = { true } >
112
112
{ items . map ( ( item , index ) => (
113
113
< UnderlineNav . Item
114
114
key = { item . navigation }
0 commit comments