X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6fdd4a4d609cf8fa459786f42eb337f8da6a5afa..c15afcee286bb8ab694f488e2ccd490b56794e47:/src/views-components/resource-properties-form/property-chip.tsx

diff --git a/src/views-components/resource-properties-form/property-chip.tsx b/src/views-components/resource-properties-form/property-chip.tsx
index c51a8d8e0c..b9a13fbbca 100644
--- a/src/views-components/resource-properties-form/property-chip.tsx
+++ b/src/views-components/resource-properties-form/property-chip.tsx
@@ -50,3 +50,9 @@ export const PropertyChipComponent = connect(mapStateToProps, mapDispatchToProps
         );
     }
 );
+
+export const getPropertyChip = (k: string, v: string, handleDelete: any, className: string) =>
+    <PropertyChipComponent
+        key={`${k}-${v}`} className={className}
+        onDelete={handleDelete}
+        propKey={k} propValue={v} />;
