Skip to content

Commit

Permalink
add lowercase version of onclose and oncancel
Browse files Browse the repository at this point in the history
  • Loading branch information
titoBouzout committed Dec 1, 2024
1 parent fa6ec72 commit 2eb7a74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/dom-expressions/src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1124,9 +1124,12 @@ export namespace JSX {
}
interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
open?: "true" | boolean | undefined;
tabindex?: never | undefined;

onclose?: EventHandlerUnion<T, Event> | undefined;
onClose?: EventHandlerUnion<T, Event> | undefined;
oncancel?: EventHandlerUnion<T, Event> | undefined;
onCancel?: EventHandlerUnion<T, Event> | undefined;
tabindex?: never | undefined;
}
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
height?: number | string | undefined;
Expand Down

0 comments on commit 2eb7a74

Please sign in to comment.