React RedocStandalone change layout to stacked
Open
@AlexVarchuk is already working on this.
Since Jan 16, 2025.
Type: Enhancement
- Dominant language
- TypeScript
- Stars
- 25.9k
- Forks
- 2.4k
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 4
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.