Skip to content
New issue

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

ftr: component based stories #78

Merged
merged 4 commits into from
Nov 23, 2024

Conversation

Gauravdarkslayer
Copy link
Owner

Component-based stories allow dynamic rendering of Angular components within the story flow, making the experience interactive and customizable.

How It Works:

Story Type Extension: The Story interface includes a type of component, allowing you to pass Angular components directly.
Dynamic Rendering: When a story of type component is encountered, the specified Angular component (CustomComponentComponent) is rendered within the story container.

Benefits:

Interactivity: Integrate interactive elements, forms, or custom logic.
Flexibility: Add new types of content easily through new components.
Rich Media Integration: Utilize the full power of Angular within stories.

Note: All remaining functionalities remains intact.

image

@Gauravdarkslayer Gauravdarkslayer linked an issue Nov 23, 2024 that may be closed by this pull request
Copy link

vercel bot commented Nov 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ngx-stories ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 23, 2024 6:01pm

@Gauravdarkslayer Gauravdarkslayer self-assigned this Nov 23, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Gauravdarkslayer, Thanks for contributing and Congrats on opening PR 🎉.

We will try to review as soon as possible and a maintainer will get back to you soon!

@Gauravdarkslayer Gauravdarkslayer merged commit 3f408de into main Nov 23, 2024
6 checks passed
@Gauravdarkslayer Gauravdarkslayer deleted the 10-request-component-based-stories branch November 23, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💡 [REQUEST] - Component based stories
1 participant