VD-151: Show examples

This commit is contained in:
Wouter van den Hoven 2020-07-02 12:23:02 +02:00
parent a90c32e12a
commit a084f3a041
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ export class ObjectSchema extends React.Component<ObjectSchemaProps> {
undefined
}
className={field.expanded ? 'expanded' : undefined}
showExamples={false}
showExamples={true}
skipReadOnly={this.props.skipReadOnly}
skipWriteOnly={this.props.skipWriteOnly}
showTitle={this.props.showTitle}

View File

@ -51,7 +51,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat
}
isLast={false}
key="packSize"
showExamples={false}
showExamples={true}
/>
<Field
field={
@ -102,7 +102,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat
isLast={true}
key="type"
renderDiscriminatorSwitch={[Function]}
showExamples={false}
showExamples={true}
/>
</tbody>
</styled.table>