fix copy/pasta docs

Co-authored-by: Sergio Padrino <sergio.padrino@gmail.com>
This commit is contained in:
tidy-dev 2023-08-25 08:07:20 -04:00 committed by GitHub
parent 229de1ec66
commit 66d14eefa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,10 +27,7 @@ export interface IButtonProps {
*/
readonly onMouseEnter?: (event: React.MouseEvent<HTMLButtonElement>) => void
/**
* A function that's called when the user moves over the button with
* a pointer device.
*/
/** Called on key down. */
readonly onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>) => void
/** An optional tooltip to render when hovering over the button */