We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c275c commit 41736acCopy full SHA for 41736ac
packages/lit-dev-content/site/docs/v3/frameworks/react.md
@@ -126,8 +126,8 @@ The `EventName` type is a string that takes an event interface as a type paramet
126
```ts
127
128
import React from 'react';
129
-import {createComponent} from '@lit/react';
130
-import {MyElement, type EventName} from './my-element.js';
+import {createComponent, type EventName} from '@lit/react';
+import {MyElement, MyEvent} from './my-element.js';
131
132
export const MyElementComponent = createComponent({
133
tagName: 'my-element',
0 commit comments