mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 14:14:56 +03:00
Revert to Stringify
This commit is contained in:
parent
129fc1f0f8
commit
63fcfa66f6
|
@ -20,7 +20,7 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
|
||||||
</FieldLabel>{' '}
|
</FieldLabel>{' '}
|
||||||
{values.map((value, idx) => (
|
{values.map((value, idx) => (
|
||||||
<ExampleValue key={idx}>
|
<ExampleValue key={idx}>
|
||||||
{typeof value === 'string' ? value : JSON.stringify(value)}
|
{JSON.stringify(value)}
|
||||||
</ExampleValue>
|
</ExampleValue>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user