diff --git a/src/components/Schema/ArraySchema.tsx b/src/components/Schema/ArraySchema.tsx index 0b555c07a2..e0cfd111a1 100644 --- a/src/components/Schema/ArraySchema.tsx +++ b/src/components/Schema/ArraySchema.tsx @@ -4,8 +4,8 @@ import { Schema, SchemaProps } from './Schema'; import { ArrayClosingLabel, ArrayOpenningLabel } from '../../common-elements'; import styled from '../../styled-components'; -import { humanizeConstraints } from '../../utils'; -import { TypeName } from '../../common-elements/fields'; +import { humanizeConstraints } from "../../utils"; +import { TypeTitle } from '../../common-elements/fields'; const PaddedSchema = styled.div` padding-left: ${({ theme }) => theme.spacing.unit * 2}px; @@ -28,7 +28,8 @@ export class ArraySchema extends React.PureComponent { return (
- Array {minMaxItems} + Array ({minMaxItems}) + {itemsSchema.schema.title && {itemsSchema.schema.title} }