File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
__docs__/src/TableOfContents Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,10 +150,10 @@ class TableOfContents extends Component<
150150 6 : 'x-large'
151151 }
152152
153- const TOC = TOCData . filter ( ( data ) => ! ! data . id ) . map ( ( data ) => {
153+ const TOC = TOCData . filter ( ( data ) => ! ! data . id ) . map ( ( data , index ) => {
154154 return (
155155 < List . Item
156- key = { data . id }
156+ key = { ` ${ data . id } - ${ index } ` }
157157 padding = { `0 0 0 ${ levelPaddingMap [ data . level ] } ` }
158158 >
159159 < Link
Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ type: example
435435 < / View>
436436 < View focusWithin>
437437 if the < code> focusWithin< / code> prop is < code> true < / code> , the View will display the focus ring if any of its descendants receives focus
438- < div tabindex = " 0" role= " button" style= {{outline: ' none' }}> Tab here to see the focus outline< / div>
438+ < div tabIndex = " 0" role= " button" style= {{outline: ' none' }}> Tab here to see the focus outline< / div>
439439 < / View>
440440< / Flex>
441441```
You can’t perform that action at this time.
0 commit comments