|
@@ -1,9 +1,8 @@
|
|
|
import React, { ChangeEvent, PureComponent } from 'react';
|
|
import React, { ChangeEvent, PureComponent } from 'react';
|
|
|
|
|
|
|
|
|
|
+import { FormField, FormLabel, Input, Select } from '..';
|
|
|
|
|
+
|
|
|
import { MappingType, ValueMapping } from '../../types';
|
|
import { MappingType, ValueMapping } from '../../types';
|
|
|
-import { Select } from '../Select/Select';
|
|
|
|
|
-import { FormField } from '../FormField/FormField';
|
|
|
|
|
-import { FormLabel } from '../FormLabel/FormLabel';
|
|
|
|
|
|
|
|
|
|
export interface Props {
|
|
export interface Props {
|
|
|
valueMapping: ValueMapping;
|
|
valueMapping: ValueMapping;
|
|
@@ -81,7 +80,7 @@ export default class MappingRow extends PureComponent<Props, State> {
|
|
|
/>
|
|
/>
|
|
|
<div className="gf-form gf-form--grow">
|
|
<div className="gf-form gf-form--grow">
|
|
|
<FormLabel width={4}>Text</FormLabel>
|
|
<FormLabel width={4}>Text</FormLabel>
|
|
|
- <input
|
|
|
|
|
|
|
+ <Input
|
|
|
className="gf-form-input"
|
|
className="gf-form-input"
|
|
|
onBlur={this.updateMapping}
|
|
onBlur={this.updateMapping}
|
|
|
value={text}
|
|
value={text}
|
|
@@ -104,7 +103,7 @@ export default class MappingRow extends PureComponent<Props, State> {
|
|
|
/>
|
|
/>
|
|
|
<div className="gf-form gf-form--grow">
|
|
<div className="gf-form gf-form--grow">
|
|
|
<FormLabel width={4}>Text</FormLabel>
|
|
<FormLabel width={4}>Text</FormLabel>
|
|
|
- <input
|
|
|
|
|
|
|
+ <Input
|
|
|
className="gf-form-input"
|
|
className="gf-form-input"
|
|
|
onBlur={this.updateMapping}
|
|
onBlur={this.updateMapping}
|
|
|
value={text}
|
|
value={text}
|