/**
 * Created by baoyinghai on 5/31/17.
 */
import React from 'react';
import { Input } from '../../../../components/mxa';

export default {
  getKeys: keys => keys,
  setFormItems: (key, setting) => {
    return {
      key,
      label: key,
      comp: <Input />,
      initData: (setting && setting[key]) || key
    };
  }
}