class RangeTimeEvent extends React.Component {
constructor(props) {
super(props);
this.state = {
card: []
}
this.takeDate = this.takeDate.bind(this);
}
takeDate() {
this.state.card.map(index => {
return (
<div>{index.date}</div>
);
})
}
render() {
return (
<div className="in-time">
<div className="time block active tab-1"><p>{this.takeDate()}</p></div>
</div>
)
}
}