@@ -266,132 +266,132 @@ external make: (
266266 ReactEvent Clipboard
267267 @see <https: //reactjs.org /docs /events.html#clipboard-events >
268268 **/
269- ~onCopy: ReactEvent.Clipboard.t=?,
270- ~onCut: ReactEvent.Clipboard.t=?,
271- ~onPaste: ReactEvent.Clipboard.t=?,
269+ ~onCopy: ReactEvent.Clipboard.t => unit =?,
270+ ~onCut: ReactEvent.Clipboard.t => unit =?,
271+ ~onPaste: ReactEvent.Clipboard.t => unit =?,
272272 /**
273273 ReactEvent Composition
274274 @see <https: //reactjs.org /docs /events.html#composition-events >
275275 **/
276- ~onCompositionEnd: ReactEvent.Composition.t=?,
277- ~onCompositionStart: ReactEvent.Composition.t=?,
278- ~onCompositionUpdate: ReactEvent.Composition.t=?,
276+ ~onCompositionEnd: ReactEvent.Composition.t => unit =?,
277+ ~onCompositionStart: ReactEvent.Composition.t => unit =?,
278+ ~onCompositionUpdate: ReactEvent.Composition.t => unit =?,
279279 /**
280280 ReactEvent Keyboard
281281 @see <https: //reactjs.org /docs /events.html#keyboard-events >
282282 **/
283- ~onKeyDown: ReactEvent.Keyboard.t=?,
284- ~onKeyPress: ReactEvent.Keyboard.t=?,
285- ~onKeyUp: ReactEvent.Keyboard.t=? /**
283+ ~onKeyDown: ReactEvent.Keyboard.t => unit =?,
284+ ~onKeyPress: ReactEvent.Keyboard.t => unit =?,
285+ ~onKeyUp: ReactEvent.Keyboard.t => unit =? /**
286286 ReactEvent Focus
287287 @see <https: //reactjs.org /docs /events.html#focus-events >
288288 **/,
289- ~onFocus: ReactEvent.Focus.t=?,
290- ~onBlur: ReactEvent.Focus.t=?,
289+ ~onFocus: ReactEvent.Focus.t => unit =?,
290+ ~onBlur: ReactEvent.Focus.t => unit =?,
291291 /**
292292 ReactEvent Form
293293 @see <https: //reactjs.org /docs /events.html#form-events >
294294 **/
295- ~onChange: ReactEvent.Form.t=?,
296- ~onInput: ReactEvent.Form.t=?,
297- ~onInvalid: ReactEvent.Form.t=?,
298- ~onReset: ReactEvent.Form.t=?,
299- ~onSubmit: ReactEvent.Form.t=?,
295+ ~onChange: ReactEvent.Form.t => unit =?,
296+ ~onInput: ReactEvent.Form.t => unit =?,
297+ ~onInvalid: ReactEvent.Form.t => unit =?,
298+ ~onReset: ReactEvent.Form.t => unit =?,
299+ ~onSubmit: ReactEvent.Form.t => unit =?,
300300 /**
301301 ReactEvent Generic Events
302302 @see <https: //reactjs.org /docs /events.html#generic-events >
303303 ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic;
304- ~onError: ReactEvent.Generic.t=?,
305- ~onLoad: ReactEvent.Generic.t=?,
304+ ~onError: ReactEvent.Generic.t => unit =?,
305+ ~onLoad: ReactEvent.Generic.t => unit =?,
306306 **/
307307 /**
308308 ReactEvent Mouse
309309 @see <https: //reactjs.org /docs /events.html#mouse-events >
310310 **/
311- ~onClick: ReactEvent.Mouse.t=?,
312- ~onContextMenu: ReactEvent.Mouse.t=?,
313- ~onDoubleClick: ReactEvent.Mouse.t=?,
314- ~onDrag: ReactEvent.Mouse.t=?,
315- ~onDragEnd: ReactEvent.Mouse.t=?,
316- ~onDragEnter: ReactEvent.Mouse.t=?,
317- ~onDragExit: ReactEvent.Mouse.t=?,
318- ~onDragLeave: ReactEvent.Mouse.t=?,
319- ~onDragOver: ReactEvent.Mouse.t=?,
320- ~onDragStart: ReactEvent.Mouse.t=?,
321- ~onDrop: ReactEvent.Mouse.t=?,
322- ~onMouseDown: ReactEvent.Mouse.t=?,
323- ~onMouseEnter: ReactEvent.Mouse.t=?,
324- ~onMouseLeave: ReactEvent.Mouse.t=?,
325- ~onMouseMove: ReactEvent.Mouse.t=?,
326- ~onMouseOut: ReactEvent.Mouse.t=?,
327- ~onMouseOver: ReactEvent.Mouse.t=?,
328- ~onMouseUp: ReactEvent.Mouse.t=?,
311+ ~onClick: ReactEvent.Mouse.t => unit =?,
312+ ~onContextMenu: ReactEvent.Mouse.t => unit =?,
313+ ~onDoubleClick: ReactEvent.Mouse.t => unit =?,
314+ ~onDrag: ReactEvent.Mouse.t => unit =?,
315+ ~onDragEnd: ReactEvent.Mouse.t => unit =?,
316+ ~onDragEnter: ReactEvent.Mouse.t => unit =?,
317+ ~onDragExit: ReactEvent.Mouse.t => unit =?,
318+ ~onDragLeave: ReactEvent.Mouse.t => unit =?,
319+ ~onDragOver: ReactEvent.Mouse.t => unit =?,
320+ ~onDragStart: ReactEvent.Mouse.t => unit =?,
321+ ~onDrop: ReactEvent.Mouse.t => unit =?,
322+ ~onMouseDown: ReactEvent.Mouse.t => unit =?,
323+ ~onMouseEnter: ReactEvent.Mouse.t => unit =?,
324+ ~onMouseLeave: ReactEvent.Mouse.t => unit =?,
325+ ~onMouseMove: ReactEvent.Mouse.t => unit =?,
326+ ~onMouseOut: ReactEvent.Mouse.t => unit =?,
327+ ~onMouseOver: ReactEvent.Mouse.t => unit =?,
328+ ~onMouseUp: ReactEvent.Mouse.t => unit =?,
329329 /**
330330 ReactEvent Pointer
331331 @see <https: //reactjs.org /docs /events.html#pointer-events >
332332 **/
333- ~onPointerDown: ReactEvent.Pointer.t=?,
334- ~onPointerMove: ReactEvent.Pointer.t=?,
335- ~onPointerUp: ReactEvent.Pointer.t=?,
336- ~onPointerCancel: ReactEvent.Pointer.t=?,
337- ~onGotPointerCapture: ReactEvent.Pointer.t=?,
338- ~onLostPointerCapture: ReactEvent.Pointer.t=?,
339- ~onPointerEnter: ReactEvent.Pointer.t=?,
340- ~onPointerLeave: ReactEvent.Pointer.t=?,
341- ~onPointerOver: ReactEvent.Pointer.t=?,
342- ~onPointerOut: ReactEvent.Pointer.t=?,
333+ ~onPointerDown: ReactEvent.Pointer.t => unit =?,
334+ ~onPointerMove: ReactEvent.Pointer.t => unit =?,
335+ ~onPointerUp: ReactEvent.Pointer.t => unit =?,
336+ ~onPointerCancel: ReactEvent.Pointer.t => unit =?,
337+ ~onGotPointerCapture: ReactEvent.Pointer.t => unit =?,
338+ ~onLostPointerCapture: ReactEvent.Pointer.t => unit =?,
339+ ~onPointerEnter: ReactEvent.Pointer.t => unit =?,
340+ ~onPointerLeave: ReactEvent.Pointer.t => unit =?,
341+ ~onPointerOver: ReactEvent.Pointer.t => unit =?,
342+ ~onPointerOut: ReactEvent.Pointer.t => unit =?,
343343 /**
344344 ReactEvent Selection
345345 @see <https: //reactjs.org /docs /events.html#selection-events >
346346 **/
347- ~onSelect: ReactEvent.Selection.t=?,
347+ ~onSelect: ReactEvent.Selection.t => unit =?,
348348 /**
349349 ReactEvent Touch
350350 @see <https: //reactjs.org /docs /events.html#touch-events >
351351 **/
352- ~onTouchCancel: ReactEvent.Touch.t=?,
353- ~onTouchEnd: ReactEvent.Touch.t=?,
354- ~onTouchMove: ReactEvent.Touch.t=?,
355- ~onTouchStart: ReactEvent.Touch.t=?,
352+ ~onTouchCancel: ReactEvent.Touch.t => unit =?,
353+ ~onTouchEnd: ReactEvent.Touch.t => unit =?,
354+ ~onTouchMove: ReactEvent.Touch.t => unit =?,
355+ ~onTouchStart: ReactEvent.Touch.t => unit =?,
356356 /**
357357 ReactEvent UI Events
358358 @see <https: //reactjs.org /docs /events.html#ui-events >
359359 **/
360- ~onScroll: ReactEvent.UI.t=?,
360+ ~onScroll: ReactEvent.UI.t => unit =?,
361361 /**
362362 ReactEvent Wheel
363363 @see <https: //reactjs.org /docs /events.html#wheel-events >
364364 **/
365- ~onWheel: ReactEvent.Wheel.t=?,
365+ ~onWheel: ReactEvent.Wheel.t => unit =?,
366366 /**
367367 ReactEvent Media
368368 @see <https: //reactjs.org /docs /events.html#media-events >
369369 **/
370- ~onAbort: ReactEvent.Media.t=?,
371- ~onCanPlay: ReactEvent.Media.t=?,
372- ~onCanPlayThrough: ReactEvent.Media.t=?,
373- ~onDurationChange: ReactEvent.Media.t=?,
374- ~onEmptied: ReactEvent.Media.t=?,
375- ~onEncrypted: ReactEvent.Media.t=?,
376- ~onEnded: ReactEvent.Media.t=?,
377- // ~onError: ReactEvent.Media.t=?,
378- ~onLoadedData: ReactEvent.Media.t=?,
379- ~onLoadedMetadata: ReactEvent.Media.t=?,
380- ~onLoadStart: ReactEvent.Media.t=?,
381- ~onPause: ReactEvent.Media.t=?,
382- ~onPlay: ReactEvent.Media.t=?,
383- ~onPlaying: ReactEvent.Media.t=?,
384- ~onProgress: ReactEvent.Media.t=?,
385- ~onRateChange: ReactEvent.Media.t=?,
386- ~onSeeked: ReactEvent.Media.t=?,
387- ~onSeeking: ReactEvent.Media.t=?,
388- ~onStalled: ReactEvent.Media.t=?,
389- ~onSuspend: ReactEvent.Media.t=?,
390- ~onTimeUpdate: ReactEvent.Media.t=?,
391- ~onVolumeChange: ReactEvent.Media.t=?,
392- ~onWaiting: ReactEvent.Media.t=?,
393- ~onLoad: ReactEvent.Synthetic.t=?,
394- ~onError: ReactEvent.Synthetic.t=?,
370+ ~onAbort: ReactEvent.Media.t => unit =?,
371+ ~onCanPlay: ReactEvent.Media.t => unit =?,
372+ ~onCanPlayThrough: ReactEvent.Media.t => unit =?,
373+ ~onDurationChange: ReactEvent.Media.t => unit =?,
374+ ~onEmptied: ReactEvent.Media.t => unit =?,
375+ ~onEncrypted: ReactEvent.Media.t => unit =?,
376+ ~onEnded: ReactEvent.Media.t => unit =?,
377+ // ~onError: ReactEvent.Media.t => unit =?,
378+ ~onLoadedData: ReactEvent.Media.t => unit =?,
379+ ~onLoadedMetadata: ReactEvent.Media.t => unit =?,
380+ ~onLoadStart: ReactEvent.Media.t => unit =?,
381+ ~onPause: ReactEvent.Media.t => unit =?,
382+ ~onPlay: ReactEvent.Media.t => unit =?,
383+ ~onPlaying: ReactEvent.Media.t => unit =?,
384+ ~onProgress: ReactEvent.Media.t => unit =?,
385+ ~onRateChange: ReactEvent.Media.t => unit =?,
386+ ~onSeeked: ReactEvent.Media.t => unit =?,
387+ ~onSeeking: ReactEvent.Media.t => unit =?,
388+ ~onStalled: ReactEvent.Media.t => unit =?,
389+ ~onSuspend: ReactEvent.Media.t => unit =?,
390+ ~onTimeUpdate: ReactEvent.Media.t => unit =?,
391+ ~onVolumeChange: ReactEvent.Media.t => unit =?,
392+ ~onWaiting: ReactEvent.Media.t => unit =?,
393+ ~onLoad: ReactEvent.Synthetic.t => unit =?,
394+ ~onError: ReactEvent.Synthetic.t => unit =?,
395395 /**
396396 ReactEvent Other
397397 @see <https: //reactjs.org /docs /events.html#other-events >
@@ -401,9 +401,9 @@ external make: (
401401 ReactEvent Animation
402402 @see <https: //reactjs.org /docs /events.html#animation-events >
403403 **/
404- ~onAnimationStart: ReactEvent.Animation.t=?,
405- ~onAnimationEnd: ReactEvent.Animation.t=?,
406- ~onAnimationIteration: ReactEvent.Animation.t=?,
404+ ~onAnimationStart: ReactEvent.Animation.t => unit =?,
405+ ~onAnimationEnd: ReactEvent.Animation.t => unit =?,
406+ ~onAnimationIteration: ReactEvent.Animation.t => unit =?,
407407) => React.element = "<%= name %> "
408408
409409let makeProps = (
0 commit comments