+
+ {editable ? 'Edit Environment' : 'New Environment'}
+
+
+ {getString('environmentDescription')}
+
+
+ (
-
- {item.name}
-
- )}
/>
-
-
-
-
- );
- }}
-
-
-
-
+
+
+
+ {getString('environmentType')}
+
+ objective._cardName === formikProps.values.type)}
+ data={environmentTypes}
+ onChange={key => {
+ formikProps.setFieldValue('type', key._cardName);
+ }}
+ cornerSelected
+ className={css.cardContainer}
+ renderItem={item => (
+
+ {item.name}
+
+ )}
+ />
+
+ closeModal()}
+ variation={ButtonVariation.SECONDARY}
+ text={getString('cancel')}
+ />
+ formikProps.handleSubmit()}
+ />
+
+
+