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

React RedocStandalone change layout to stacked #2645

Open
padsbanger opened this issue Jan 14, 2025 · 0 comments
Open

React RedocStandalone change layout to stacked #2645

padsbanger opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@padsbanger
Copy link

Describe the problem to be solved
Hello, I am using React <RedocStandalone /> component in my app and I need to change layout from three-panel to stacked. How can I achieve this ?

There is an option to do this via redocly.yaml spec: https://redocly.com/docs/realm/config/openapi/layout#examples, but how does this translate to props in React component ? There is no layout prop in typescript typings of RedocStandalone component.

Describe the solution you'd like
Pass layout as prop.

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

No branches or pull requests

2 participants