Skip to content

Commit f2aac83

Browse files
committed
chore: update new element react types template
place the import for new elements in the correct place (in react-types.ts)
1 parent e11874f commit f2aac83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
to: src/react-types.ts
33
inject: true
4-
before: \ndeclare global
4+
before: \ntype WokwiElement
55
skip_if: \{ <%= h.className(name) %>Element \}
66
---
77
import { <%= h.className(name) %>Element } from './<%= name %>-element';

0 commit comments

Comments
 (0)