mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-01 21:03:45 +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')}:
|
{values.length === 1 ? l('enumSingleValue') : l('enum')}:
|
||||||
</FieldLabel>
|
</FieldLabel>
|
||||||
{values.map((value, idx) => (
|
{values.map((value, idx) => (
|
||||||
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>
|
<>
|
||||||
|
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>{' '}
|
||||||
|
</>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user