Skip to content

Commit

Permalink
Export the datagrid hooks from components' index.js (#4287)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall authored Nov 19, 2020
1 parent 2a457ff commit 0b393cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Exported `useDataGridColumnSelector`, `useDataGridColumnSorting`, and `useDataGridStyleSelector` hooks ([#4271](https://github.com/elastic/eui/pull/4271))

**Theme: Amsterdam**

- Unify colors with the Elastic brand ([#4284](https://github.com/elastic/eui/pull/4284))
Expand All @@ -10,7 +12,6 @@
- Added `eql` glyph in `EuiIcon` ([#4110](https://github.com/elastic/eui/pull/4110))
- Added `testenv` mock for `htmlIdGenerator` ([#4212](https://github.com/elastic/eui/pull/4212))
- Added several Sass mixins for handling of unified focus/hover states ([#4242](https://github.com/elastic/eui/pull/4242))
- Exported `useDataGridColumnSelector`, `useDataGridColumnSorting`, and `useDataGridStyleSelector` hooks ([#4271](https://github.com/elastic/eui/pull/4271))

**Bug fixes**

Expand Down
7 changes: 6 additions & 1 deletion src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ export { EuiControlBar } from './control_bar';

export { EuiCopy } from './copy';

export { EuiDataGrid } from './datagrid';
export {
EuiDataGrid,
useDataGridColumnSelector,
useDataGridColumnSorting,
useDataGridStyleSelector,
} from './datagrid';

export {
EuiDatePicker,
Expand Down

0 comments on commit 0b393cc

Please sign in to comment.