Skip to content

React RedocStandalone change layout to stacked #2645

@padsbanger

Description

@padsbanger

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions