Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve EuiBasicTable caption #2782

Merged
merged 11 commits into from
Jan 29, 2020
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