We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StoryEmbed
StoryEmbed component is a helper component that renders <iframe>d Storybook stories and docs views based on a given id or path.
<iframe>
id
path
src
STORYBOOK_ROOT_URL
type
width
height
width="100%"
The text was updated successfully, but these errors were encountered:
@tkajtoch What is the status of this?
Sorry, something went wrong.
We decided to not embed stories as interactive examples and instead implemented an interactive example component based on react-live.
react-live
tkajtoch
No branches or pull requests
Summary
StoryEmbed
component is a helper component that renders<iframe>
d Storybook stories and docs views based on a givenid
orpath
.Acceptance Criteria
StoryEmbed
should render an<iframe>
element with auto-generatedsrc
src
value should be generated using theSTORYBOOK_ROOT_URL
environment variable, thetype
prop, and theid
orpath
propswidth
andheight
customization and default towidth="100%"
when no value is providedThe text was updated successfully, but these errors were encountered: