diff --git a/packages/react-components/react-input/src/components/Input/Input.types.ts b/packages/react-components/react-input/src/components/Input/Input.types.ts index 0e58bd1ee36448..1280da89cd44d5 100644 --- a/packages/react-components/react-input/src/components/Input/Input.types.ts +++ b/packages/react-components/react-input/src/components/Input/Input.types.ts @@ -1,5 +1,5 @@ import * as React from 'react'; -import type { ComponentProps, ComponentState, EventData, EventHandler, Slot } from '@fluentui/react-utilities'; +import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities'; export type InputSlots = { /** @@ -27,8 +27,6 @@ export type InputSlots = { contentAfter?: Slot<'span'>; }; -type OnOpenChangeData = EventData<'click', React.MouseEvent>; - export type InputProps = Omit< ComponentProps, 'input'>, // `children` is unsupported. The rest of these native props have customized definitions. @@ -82,8 +80,6 @@ export type InputProps = Omit< // eslint-disable-next-line @fluentui/consistent-callback-type onChange?: (ev: React.ChangeEvent, data: InputOnChangeData) => void; - onChange2?: EventHandler; - /** * An input can have different text-based [types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input#input_types) * based on the type of value the user will enter.