Skip to content

Commit

Permalink
add example of passing node for message
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Mar 15, 2018
1 parent c4a424c commit 9ca165b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src-docs/src/views/tables/in_memory/in_memory_selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,17 @@ export class Table extends Component {
this.state = {
loading: false,
users: [],
message: 'No users, click "Load Users" to load some',
message: (
<div>
<span>Looks like you don't have any users. Let's create some!</span>
<EuiButton
key="loadUsers"
onClick={this.loadUsers.bind(this)}
>
Load Users
</EuiButton>
</div>
),
selection: []
};
}
Expand Down

0 comments on commit 9ca165b

Please sign in to comment.