fix(syntax-highlighter): configuration for Examples (#6455)

* Complement #5259, getConfigs was not correctly forwarded to Examples. As a result, syntax highlight could not be disabled be disabled or configured in that elements
This commit is contained in:
Adrien Becchis
2020-10-02 23:44:46 +02:00
committed by GitHub
parent a920357c22
commit b5e8081115
6 changed files with 10 additions and 3 deletions

View File

@@ -226,6 +226,7 @@ export default class Response extends React.Component {
<Example
example={examplesForMediaType.get(this.getTargetExamplesKey(), Map({}))}
getComponent={getComponent}
getConfigs={getConfigs}
omitValue={true}
/>
) : null}