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

Fixed the TS defs for EuiFilterSelectItem #2192

Merged
merged 2 commits into from
Aug 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Remove exported TypeScript type and interface exports from built artifacts when they originate from `node_modules` ([#2191](https://github.com/elastic/eui/pull/2191))
- Fixed `EuiBadge` truncation in IE and for the global filters pattern ([#2194](https://github.com/elastic/eui/pull/2194))
- Fixed alignment of long titles in `EuiStep` ([#2186](https://github.com/elastic/eui/pull/2186))
- Fixed the TS defs for EuiFilterSelectItem ([#2192](https://github.com/elastic/eui/pull/2192))

## [`13.1.1`](https://github.com/elastic/eui/tree/v13.1.1)

Expand Down
7 changes: 5 additions & 2 deletions src/components/filter_group/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ declare module '@elastic/eui' {
checked?: FilterChecked;
}

export const EuiFilterSelectItem: Component<
// eslint-disable-next-line react/prefer-stateless-function
export class EuiFilterSelectItem extends Component<
CommonProps &
ButtonHTMLAttributes<HTMLButtonElement> &
EuiFilterSelectItemProps
>;
> {
render: () => JSX.Element;
}
}