+ {props.propertyIds.length ? (
+ props.propertyIds.map((propertyId, index) => (
+
+ ))
+ ) : (
+
+
+ {formatMessage('There are no {kind} properties.', {
+ kind: props.kind === 'required' ? formatMessage('required') : formatMessage('optional'),
+ })}
+
+
+ )}
+
+));
+
+export const PropertyList = (props: Props) => {
+ const { kind } = props;
+
+ return (
+