import React from 'react'; import AlertMixin from '../../mixins/alert_mixin' import DatePicker from 'react-datepicker/dist/react-datepicker' let InputDate = React.createClass({ mixins : [AlertMixin], getInitialState() { return {value: null, alerts: null // needed in AlertMixin }; }, handleChange(date) { this.setState({value: date}); }, render: function () { let className = "form-control input-text-ascribe"; let alerts = (this.props.submitted) ? null : this.state.alerts; return ( ); //return ( //
// // // // //
//) } }); export default InputDate;