15781: Adds multi-value property support for projects.
[arvados-workbench2.git] / src / views-components / resource-properties-form / property-chip.tsx
index c51a8d8e0cfb5cfc3d736aa8435c21b9d75e96d4..f25deb70ebd34222f49042adcab322433ffd7eb7 100644 (file)
@@ -50,3 +50,9 @@ export const PropertyChipComponent = connect(mapStateToProps, mapDispatchToProps
         );
     }
 );
+
+export const getPropertyChip = (k:string, v:string, handleDelete:any, className:string) =>
+    <PropertyChipComponent
+        key={k} className={className}
+        onDelete={handleDelete}
+        propKey={k} propValue={v} />;