Skip to content

Commit

Permalink
Add keys to array elements where missing
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Oct 5, 2017
1 parent b3a9d55 commit 3beb8e6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui_framework/doc_site/src/views/table/listing_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,20 @@ export class ListingTable extends React.Component {
renderToolBarActions() {
return [
<KuiButton
key="add"
buttonType="primary"
aria-label="Add"
>
Add
</KuiButton>,
<KuiButton
key="settings"
aria-label="Settings"
buttonType="basic"
icon={<KuiButtonIcon type="settings" />}
/>,
<KuiButton
key="menu"
aria-label="Menu"
buttonType="basic"
icon={<KuiButtonIcon type="menu" />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,20 @@ function renderPager() {
function renderToolBarActions() {
return [
<KuiButton
key="add"
buttonType="primary"
aria-label="Add"
>
Add
</KuiButton>,
<KuiButton
key="settings"
aria-label="Settings"
buttonType="basic"
icon={<KuiButtonIcon type="settings" />}
/>,
<KuiButton
key="menu"
aria-label="Menu"
buttonType="basic"
icon={<KuiButtonIcon type="menu" />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,20 @@ function renderEmptyTablePrompt() {
function renderToolBarActions() {
return [
<KuiButton
key="add"
buttonType="primary"
aria-label="Add"
>
Add
</KuiButton>,
<KuiButton
key="settings"
aria-label="Settings"
buttonType="basic"
icon={<KuiButtonIcon type="settings"/>}
/>,
<KuiButton
key="menu"
aria-label="Menu"
buttonType="basic"
icon={<KuiButtonIcon type="menu"/>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ import {
function renderToolBarActions() {
return [
<KuiButton
key="add"
buttonType="primary"
aria-label="Add"
>
Add
</KuiButton>,
<KuiButton
key="settings"
aria-label="Settings"
buttonType="basic"
icon={<KuiButtonIcon type="settings"/>}
/>,
<KuiButton
key="menu"
aria-label="Menu"
buttonType="basic"
icon={<KuiButtonIcon type="menu"/>}
Expand Down

0 comments on commit 3beb8e6

Please sign in to comment.