I am representing the data using redux in React. It gives a DIV for each block of data. I would like to separate each div, space in between each one, and create an accordion card with each div. I am not sure the best way of going about something like this, and using it with redux. The block of code is below.
import React, { Component } from "react";
// import ReactDOM from "react-dom";
import './reasearchPage.style.scss'
import { connect } from 'react-redux'
// import { Card, Feed } from 'semantic-ui-react'
import {fetchDataSuccess} from "../../Redux/actions/dataAction";
class ResearchPage extends Component {
componentDidMount() {
this.props.fetchDataSuccess();
}
render() {
const { data } = this.props;
return (
<div>
<h1 className='page-title'>Record MetaData</h1>
{data.map(({ id, _index, ContentTypeId}) => (
<div key={id} className="query-div">
<h3>{_index}</h3>
<p>{ContentTypeId}</p>
</div>
))}
</div>
);
}
};
const mapStateToProps = state => ({
data: state.data.data
});
const mapDispatchToProps = dispatch => ({
fetchDataSuccess: () => fetchDataSuccess(dispatch)
});
export default connect(mapStateToProps, mapDispatchToProps)(ResearchPage);
sildenafil citrate tablets ip 100 mg – purchasing viagra cheapest viagra usa
cialis buy in canada – generic cialis no rx buy cialis daily online
vegas casino online – casino games doubleu casino
ed cure – what causes erectile dysfunction top ed drugs
prednisone 12 mg – cost of prednisone in canada prednisone 4
female viagra for sale in india – cost viagra per pill can you buy generic viagra in canada
cialis singapore pharmacy – procialisp tadalafil citrate for women
ivermectin 2mg – ivermectin australia stromectol 2mg
furosemide 40 mg tablet furosemide 20 mg tablet buy online nek nox
buy lasix online furosemide 40 mg nek nox
cost of lasix furosemide goodrx nek nox
purchase furosemide online – clomiphene tablets lasix 20mg for sale
cytotec cost singapore – cytotec buy online india cytotec canada pharmacy
buy stromectol uk ivermectin 4 tablets price
clomid over the counter nek nox
amoxicillin antibiotic
185724 614455I surely didnt know that. Learnt 1 thing new these days! Thanks for that. 991257
how to get propecia prescribed
buying cialis in mexico
tadalafil canadian pharmacy online
zithromax for otitis media
blue ventolin inhaler
ivermectina 6mg – price of ivermectin ivermectin lotion
can you get high off of zithromax
406267 638358I dugg some of you post as I cogitated they were quite beneficial invaluable 407003
dapoxetine new zealand