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

refactor(Editor): generalize editor component to be reusable #51

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

YossiSaadi
Copy link
Contributor

This is to allow extracting Editor from the addon or to make it reusable inside the addon for LiveEdit support

@YossiSaadi YossiSaadi requested a review from a team April 3, 2024 10:26
@@ -39,4 +40,4 @@ export type Code = { jsx: string; css: string };

export type Tab = "jsx" | "css";

export type EditorTheme = "light" | "dark";
export type EditorTheme = "light" | "dark" | Extension;
Copy link
Member

Choose a reason for hiding this comment

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

Is it customizable by users?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in LiveEdit for example I'm passing an extension (vscode theme)
it is customizable to "light" | "dark" by users but not allowing (yet, you had a good point) to pass their own theme

@YossiSaadi YossiSaadi merged commit 7030ca6 into master Apr 3, 2024
4 checks passed
@YossiSaadi YossiSaadi deleted the refactor/yossi/generalize-editor-component branch April 3, 2024 11:26
Copy link

github-actions bot commented Apr 3, 2024

🎉 This PR is included in version 1.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants