/** * * EditForm * */ import React from 'react'; // Uncomment to use PropTypes import Input from 'components/Input'; // import PropTypes from 'prop-types'; import styles from './styles.scss'; class EditForm extends React.Component { // eslint-disable-line react/prefer-stateless-function state = { value: false } handleChange = ({target}) => { this.setState({ value: target.value }); } render() { return (
console.log('change')} type="select" value={'100'} selectOptions={[ { value: '100' }, { value: '200' }]} validations={{}} />
console.log('change')} type="select" value={'24'} selectOptions={[ { value: '24' }, { value: '48' }]} validations={{}} />
); } } // Uncomment to use PropTypes // EditForm.proptypes = { // foo: PropTypes.string, // }; export default EditForm;