Skip to content

Commit

Permalink
Add example of new external view
Browse files Browse the repository at this point in the history
  • Loading branch information
MaPoKen committed Jan 10, 2025
1 parent ca37c30 commit cbaee97
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/ndla-ui/src/Embed/ExternalEmbed.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,14 @@ export const Fullscreen: StoryObj<typeof ExternalEmbed> = {
},
},
};

export const Link: StoryObj<typeof ExternalEmbed> = {
args: {
embed: {
resource: "external",
status: "success",
embedData: { ...embedDataFullscreen, type: "link" },
data: opensInNewMetaData,
},
},
};

0 comments on commit cbaee97

Please sign in to comment.