mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 18:13:44 +03:00
fix: broken schema talbes with long enums
This commit is contained in:
parent
c210ae4d5d
commit
3a74b745b1
|
@ -22,7 +22,9 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
|
|||
{values.length === 1 ? l('enumSingleValue') : l('enum')}:
|
||||
</FieldLabel>
|
||||
{values.map((value, idx) => (
|
||||
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>
|
||||
<>
|
||||
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>{' '}
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user