import React from 'react'
import {connect} from 'react-redux'
import {getVariables} from '../selectors'
import TagNavigation from '../components/TagNavigation'
const Variable = ({data: {variable, tags}}) =>
{variable}
{Object.keys(tags).map(name => -
{name + ': ' + tags[name]}
)}
class Explorer extends React.Component {
render() {
let {tags, actions, variables} = this.props
return (
Les prélèvements sociaux sur les salaires
{variables.map((v, i) => )}
)
}
}
const mapStateToProps = state => (
{
variables: getVariables(state)
}
)
const VariableExplorer = connect(mapStateToProps)(Explorer)
export default VariableExplorer