diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d65f32f700..ababa991a93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Fixed `EuiSwitch` semantics to align with aria roles ([#2193](https://github.com/elastic/eui/pull/2193)) - Removed Firefox's focus ring to match other browsers ([#2193](https://github.com/elastic/eui/pull/2193)) +- Added missing `onChange` TS defs for EuiRange ([#2211](https://github.com/elastic/eui/pull/2211)) ## [`13.3.0`](https://github.com/elastic/eui/tree/v13.3.0) diff --git a/src/components/form/range/index.d.ts b/src/components/form/range/index.d.ts index 90a35463fe0..14cacd52569 100644 --- a/src/components/form/range/index.d.ts +++ b/src/components/form/range/index.d.ts @@ -51,6 +51,13 @@ declare module '@elastic/eui' { tickInterval?: number; valueAppend?: ReactNode; valuePrepend?: ReactNode; + + onChange?: ( + event: + | React.ChangeEvent + | React.MouseEvent, + isValid: boolean + ) => void; } export const EuiRange: FunctionComponent<