import React from 'react'
import PropTypes from 'prop-types'
import classnames from 'classnames'
const ConfirmDetailRow = props => {
const {
label,
fiatText,
ethText,
onHeaderClick,
fiatTextColor,
headerText,
headerTextClassName,
} = props
return (
{ label }
onHeaderClick && onHeaderClick()}
>
{ headerText }
{ fiatText }
{ ethText }
)
}
ConfirmDetailRow.propTypes = {
label: PropTypes.string,
fiatText: PropTypes.string,
ethText: PropTypes.string,
fiatTextColor: PropTypes.string,
onHeaderClick: PropTypes.func,
headerText: PropTypes.string,
headerTextClassName: PropTypes.string,
}
export default ConfirmDetailRow