this.removeValueType(name, idx)}
+ onChange={(name: string, type: string, value: string) => (
+ this.handleValueTypeChange(name, idx, {type, value})
+ )}
+ />
+ ))}
+
+
+ Emails
+ this.addValueType('emails')}
+ tooltip="Add email address"
+ >
+
+
+
+ {this.state.emails.map((x, idx) => (
+ this.removeValueType(name, idx)}
+ onChange={(name: string, type: string, value: string) => (
+ this.handleValueTypeChange(name, idx, {type, value})
+ )}
+ />
+ ))}
+
+
+
+
+
+
+ Not all types are supported at the moment. If you are editing a contact,
+ the unsupported types will be copied as is.
+
+