@@ -4,6 +4,7 @@ import Prelude
44
55import Beta.DOM.Attributes (BaseAttributesR)
66import Beta.DOM.Internal (FFIComponent, createBuiltinElement)
7+import React.Basic.Events (EventHandler)
78
89-- | The `<form>` HTML element represents a form, which is a component of an application
910-- | that is designed for the performing of an action by the user.
@@ -22,4 +23,5 @@ form = createBuiltinElement "form"
2223type FormAttributes = BaseAttributesR
2324 ( action :: String
2425 , method :: String
26+ , onSubmit :: EventHandler
2527 )