import React from 'react'
import PropTypes from 'prop-types'
import classnames from 'classnames'
const ConfirmDetailRow = props => {
const {
label,
fiatFee,
ethFee,
onHeaderClick,
fiatFeeColor,
headerText,
headerTextClassName,
} = props
return (
{ label }
onHeaderClick && onHeaderClick()}
>
{ headerText }
{ fiatFee }
{ `\u2666 ${ethFee}` }
)
}
ConfirmDetailRow.propTypes = {
label: PropTypes.string,
fiatFee: PropTypes.string,
ethFee: PropTypes.string,
fiatFeeColor: PropTypes.string,
onHeaderClick: PropTypes.func,
headerText: PropTypes.string,
headerTextClassName: PropTypes.string,
}
export default ConfirmDetailRow