Replaces the inheritance with composition pattern in the Symptom view

This commit is contained in:
Sofiya Tepikin
2019-08-16 20:32:02 +02:00
parent c0235d148b
commit 8ce840306a
17 changed files with 2577 additions and 2495 deletions
+2
View File
@@ -0,0 +1,2 @@
export const getLabelsList =
(categories) => categories.map((label, i) => ({ label, value: i }))