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

[Request] 代码块支持默认折叠 #235

Closed
zhuba-Ahhh opened this issue Dec 20, 2024 · 4 comments · Fixed by #236
Closed

[Request] 代码块支持默认折叠 #235

zhuba-Ahhh opened this issue Dec 20, 2024 · 4 comments · Fixed by #236
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@zhuba-Ahhh
Copy link
Contributor

🥰 需求描述 | Feature Description

const [expand, setExpand] = useState(true);

🧐 解决方案 | Proposed Solution

支持传入配置是否默认折叠

📝 补充信息 | Additional Information

FullFeatured

@zhuba-Ahhh zhuba-Ahhh added the 🌠 Feature Request New feature or request | 特性与建议 label Dec 20, 2024
@lobehubbot
Copy link
Member

👀 @zhuba-Ahhh
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@zhuba-Ahhh
Copy link
Contributor Author

我顺手加一下吧,有需求用到比较急

@canisminor1990
Copy link
Member

Ok 加一个 defaultExpand 吧

@lobehubbot
Copy link
Member

@zhuba-Ahhh


This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants