-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Getting error on next project: Module not found: Can't resolve 'yaml'
import { RedocStandalone } from 'redoc';
export default function RedocComponent({ apiSpecs }: { apiSpecs: any }) {
return (
<RedocStandalone
spec={apiSpecs}
options={{
theme: theme === 'dark' ? redocDarkTheme : redocLightTheme,
hideDownloadButton: true,
expandResponses: '200,201',
requiredPropsFirst: true,
sortPropsAlphabetically: true,
showObjectSchemaExamples: true,
nativeScrollbars: true,
pathInMiddlePanel: true,
}}
/>
);
}

Metadata
Metadata
Assignees
Labels
No labels