Skip to content

Commit

Permalink
Add 'data-wv-id' and 'data-wv-type' attributes to WeaverseElement
Browse files Browse the repository at this point in the history
  • Loading branch information
hta218 committed Jul 7, 2024
1 parent e0bc85a commit 2204bdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export interface ElementData {
export interface WeaverseElement {
Component: ForwardRefExoticComponent<any>
type: string
'data-wv-id': string
'data-wv-type': string
}

export interface ElementSchema {
Expand Down

0 comments on commit 2204bdd

Please sign in to comment.