mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 03:20:46 +08:00
Merge pull request #21351 from Dartoxian/fix/draft-update
Update for the new onLeftArrow, onRightArrow in draft-js 0.10.4
This commit is contained in:
4
types/draft-js/index.d.ts
vendored
4
types/draft-js/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Draft.js v0.10.3
|
||||
// Type definitions for Draft.js v0.10.4
|
||||
// Project: https://facebook.github.io/draft-js/
|
||||
// Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny>
|
||||
// Eelco Lempsink <https://github.com/eelco>
|
||||
@@ -156,6 +156,8 @@ declare namespace Draft {
|
||||
onTab?(e: SyntheticKeyboardEvent): void,
|
||||
onUpArrow?(e: SyntheticKeyboardEvent): void,
|
||||
onDownArrow?(e: SyntheticKeyboardEvent): void,
|
||||
onRightArrow?(e: SyntheticKeyboardEvent): void,
|
||||
onLeftArrow?(e: SyntheticKeyboardEvent): void,
|
||||
|
||||
onBlur?(e: SyntheticEvent): void,
|
||||
onFocus?(e: SyntheticEvent): void,
|
||||
|
||||
Reference in New Issue
Block a user