Skip to content

Commit c49681f

Browse files
Onur Gumusalfonsogarciacaro
authored andcommitted
Adds OnReset to DomAttr and fixes #93
1 parent 590d8d4 commit c49681f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Fable.React/Fable.Helpers.React.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module rec Props =
4141
| OnChange of (React.FormEvent -> unit)
4242
| OnInput of (React.FormEvent -> unit)
4343
| OnSubmit of (React.FormEvent -> unit)
44+
| OnReset of (React.FormEvent -> unit)
4445
| OnLoad of (React.SyntheticEvent -> unit)
4546
| OnError of (React.SyntheticEvent -> unit)
4647
| OnKeyDown of (React.KeyboardEvent -> unit)

src/Fable.React/Fable.Import.React.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ module React =
432432
abstract onChange: FormEventHandler option with get, set
433433
abstract onInput: FormEventHandler option with get, set
434434
abstract onSubmit: FormEventHandler option with get, set
435+
abstract onReset: FormEventHandler option with get, set
435436
abstract onLoad: ReactEventHandler option with get, set
436437
abstract onError: ReactEventHandler option with get, set
437438
abstract onKeyDown: KeyboardEventHandler option with get, set

0 commit comments

Comments
 (0)