eui
eui copied to clipboard
[New docs] Create `StoryEmbed` component
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
StoryEmbedshould render an<iframe>element with auto-generatedsrc- The
srcvalue should be generated using theSTORYBOOK_ROOT_URLenvironment variable, thetypeprop, and theidorpathprops
- The
- it should allow
widthandheightcustomization and default towidth="100%"when no value is provided
@tkajtoch What is the status of this?