diff --git a/src/modules/Dropdown/Dropdown.d.ts b/src/modules/Dropdown/Dropdown.d.ts index af94b342e7..d479fa6711 100644 --- a/src/modules/Dropdown/Dropdown.d.ts +++ b/src/modules/Dropdown/Dropdown.d.ts @@ -127,7 +127,7 @@ export interface StrictDropdownProps { * @param {SyntheticEvent} event - React's original SyntheticEvent. * @param {object} data - All props and the new item's value. */ - onAddItem?: (event: React.KeyboardEvent, data: DropdownProps) => void + onAddItem?: (event: React.SyntheticEvent, data: DropdownProps) => void /** * Called on blur. @@ -135,7 +135,7 @@ export interface StrictDropdownProps { * @param {SyntheticEvent} event - React's original SyntheticEvent. * @param {object} data - All props. */ - onBlur?: (event: React.KeyboardEvent, data: DropdownProps) => void + onBlur?: (event: React.FocusEvent, data: DropdownProps) => void /** * Called when the user attempts to change the value. @@ -151,7 +151,7 @@ export interface StrictDropdownProps { * @param {SyntheticEvent} event - React's original SyntheticEvent. * @param {object} data - All props. */ - onClick?: (event: React.KeyboardEvent, data: DropdownProps) => void + onClick?: (event: React.MouseEvent, data: DropdownProps) => void /** * Called when a close event happens. @@ -167,7 +167,7 @@ export interface StrictDropdownProps { * @param {SyntheticEvent} event - React's original SyntheticEvent. * @param {object} data - All props. */ - onFocus?: (event: React.SyntheticEvent, data: DropdownProps) => void + onFocus?: (event: React.FocusEvent, data: DropdownProps) => void /** * Called when a multi-select label is clicked.