kopia lustrzana https://github.com/shoelace-style/shoelace
remove whitespace
rodzic
28cc38a90b
commit
39a0fafdc3
|
@ -31,7 +31,7 @@ components.forEach(async component => {
|
|||
const eventExports = (component.events || [])
|
||||
.map(event => `export type { ${event.eventName} } from '../../../src/events/events';`)
|
||||
.join('\n');
|
||||
const eventNameImport = (component.events || []).length > 0 ? `import { type EventName } from '@lit/react';` : ``;
|
||||
const eventNameImport = (component.events || []).length > 0 ? `import { type EventName } from '@lit/react';` : ``;
|
||||
const events = (component.events || [])
|
||||
.map(event => `${event.reactName}: '${event.name}' as EventName<${event.eventName}>`)
|
||||
.join(',\n');
|
||||
|
|
Ładowanie…
Reference in New Issue