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

[Question] does sumi support custom layout #2326

Closed
geekeren opened this issue Feb 22, 2023 · 1 comment
Closed

[Question] does sumi support custom layout #2326

geekeren opened this issue Feb 22, 2023 · 1 comment
Labels
💬 question Further information is requested

Comments

@geekeren
Copy link
Contributor

描述你的问题(Describe you question here)
It seems sumi only support customize the slot content, is it possible to customize the layout component, to use other react component replacing @opensumi/ide-main-layout

@geekeren geekeren added the 💬 question Further information is requested label Feb 22, 2023
@erha19
Copy link
Member

erha19 commented Feb 22, 2023

@geekeren we are using @opensumi/ide-main-layout to associate the view, you can fork this module and remained some services logic, it's ok to replace the built-in component with your custom React Component, but this modification will be relatively difficult, and you need to have enough understanding of the framework.

You can also take a look at this issue opensumi/docs#83 to get an overview of the current view customization capabilities, and we will write this part into the document later.

@erha19 erha19 closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants