Skip to content

Commit 70617c9

Browse files
committed
Dispatch change event
1 parent f32f3b2 commit 70617c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import React from "react";
2-
import { createComponent } from "@lit/react";
2+
import { createComponent, EventName } from "@lit/react";
33
import { VscodeCheckbox as WC } from "@vscode-elements/elements";
44

55
const VscodeCheckbox = createComponent({
66
tagName: "vscode-checkbox",
77
elementClass: WC,
88
react: React,
99
displayName: "VscodeCheckbox",
10+
events: {
11+
onChange: "change" as EventName<Event>,
12+
},
1013
});
1114

1215
export default VscodeCheckbox;

0 commit comments

Comments
 (0)