import React, {Component} from 'react'; // @ts-ignore import {Field, reduxForm} from "redux-form"; type Props = { onSave: (values: any) => void; initialValues: any; handleSubmit: (callback: any) => void } class StoreForm extends Component { renderInput = (args: any) => { const { label, id, name, type, placeholder, input, meta, classes, notDisable } = args; const borderColor = meta.touched && meta.error ? "#e44947": ""; return (
{this.renderError(meta)}
) }; renderTextArea = (args: any) => { const { label, id, name, placeholder, input, classes } = args; return (