eui icon indicating copy to clipboard operation
eui copied to clipboard

[New docs] Create `StoryEmbed` component

Open tkajtoch opened this issue 1 year ago • 1 comments

Summary

StoryEmbed component is a helper component that renders <iframe>d Storybook stories and docs views based on a given id or path.

Acceptance Criteria

  • StoryEmbed should render an <iframe> element with auto-generated src
    • The src value should be generated using the STORYBOOK_ROOT_URL environment variable, the type prop, and the id or path props
  • it should allow width and height customization and default to width="100%" when no value is provided

tkajtoch avatar Dec 04 '23 13:12 tkajtoch

@tkajtoch What is the status of this?

JasonStoltz avatar Jan 08 '24 17:01 JasonStoltz