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

Components preview POC #754

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Components preview POC #754

wants to merge 2 commits into from

Conversation

anvlkv
Copy link

@anvlkv anvlkv commented Jun 30, 2024

No description provided.

examples/all-components/src/ds/mod.rs Outdated Show resolved Hide resolved
height: "20%",
width: "100%",
ThemeEditor{
theme: theme_signal
Copy link
Owner

Choose a reason for hiding this comment

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

You don't really need to pass the theme signal as prop, instead you can just call use_theme in all the components you need the signal.

@marc2332 marc2332 added the enhancement 🔥 New feature or request label Jun 30, 2024
Co-authored-by: Marc Espin <mespinsanz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🔥 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants