Skip to content

Commit

Permalink
Merge pull request #26 from bettyblocks/button-components-to-tsx-TMPL…
Browse files Browse the repository at this point in the history
…T-1493

feat: add page interaction parameters
  • Loading branch information
benjamin-rocks authored Jun 22, 2022
2 parents 798a271 + da8a1be commit a46a80c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/prefabs/types/interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,18 @@ export interface ParameterOptionWithComponentRef {
};
}

export interface ParameterOptionWithPageId {
name: string,
pageId: string,
id: string,
paramters?: Record<string, string>
}

export type PrefabInteractionParameter =
| ParameterOptionWithId
| ParameterOptionWithPath
| ParameterOptionWithComponentRef;
| ParameterOptionWithComponentRef
| ParameterOptionWithPageId;

export interface PrefabCustomInteraction extends BasePrefabInteraction {
type: InteractionType.Custom
Expand Down

0 comments on commit a46a80c

Please sign in to comment.