Skip to content

Commit

Permalink
Add tableCaption to EuiBasicTable (#2782)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreadelrio authored Jan 29, 2020
1 parent 5a8a1c7 commit 31249e5
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 133 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `18.3.0`.
- Added `tableCaption` prop to `EuiBasicTable` and improved the default one ([#2782](https://github.com/elastic/eui/pull/2782))

## [`18.3.0`](https://github.com/elastic/eui/tree/v18.3.0)

Expand Down
6 changes: 6 additions & 0 deletions src-docs/src/views/tables/basic/props_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ export const propsInfo = {
required: false,
type: { name: '(criteria: #Criteria) => void' },
},
tableCaption: {
description:
'Describes the content of the table. If not specified, the caption will be "This table contains {itemCount} rows."',
required: false,
type: { name: 'string' },
},
tableLayout: {
description:
'Sets the table-layout CSS property. Note that auto tableLayout prevents truncateText from working properly.',
Expand Down
Loading

0 comments on commit 31249e5

Please sign in to comment.