mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
Merge branch 'master' of github.com:Redocly/redoc
This commit is contained in:
commit
18511fdb62
|
@ -162,7 +162,7 @@ Also you can pass options:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
<RedocStandalone
|
<RedocStandalone
|
||||||
specUrl="http://rebilly.github.io/RebillyAPI/openapi.json"
|
specUrl="https://api.redoc.ly/registry/rebilly/core-api/core/bundle/master/openapi.yaml"
|
||||||
options={{
|
options={{
|
||||||
nativeScrollbars: true,
|
nativeScrollbars: true,
|
||||||
theme: { colors: { primary: { main: '#dd5522' } } },
|
theme: { colors: { primary: { main: '#dd5522' } } },
|
||||||
|
@ -176,7 +176,7 @@ You can also specify `onLoaded` callback which will be called each time Redoc ha
|
||||||
|
|
||||||
```js
|
```js
|
||||||
<RedocStandalone
|
<RedocStandalone
|
||||||
specUrl="http://rebilly.github.io/RebillyAPI/openapi.json"
|
specUrl="https://api.redoc.ly/registry/rebilly/core-api/core/bundle/master/openapi.yaml"
|
||||||
onLoaded={error => {
|
onLoaded={error => {
|
||||||
if (!error) {
|
if (!error) {
|
||||||
console.log('Yay!');
|
console.log('Yay!');
|
||||||
|
|
|
@ -87,7 +87,7 @@ export const StyledMarkdownBlock = styled(
|
||||||
padding: ${props => props.theme.spacing.unit * 4}px;
|
padding: ${props => props.theme.spacing.unit * 4}px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
border-radius: 0px
|
border-radius: 0px;
|
||||||
border: 1px solid rgba(38, 50, 56, 0.1);
|
border: 1px solid rgba(38, 50, 56, 0.1);
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user