aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js
blob: 79901c8fc7e00bd3f17c5cccaaf44fe9d143b745 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import React from 'react'
import PropTypes from 'prop-types'

const ConfirmPageContainerWarning = props => {
  return (
    <div className="confirm-page-container-warning">
      <img
        className="confirm-page-container-warning__icon"
        src="/images/alert.svg"
      />
      <div className="confirm-page-container-warning__warning">
        { props.warning }
      </div>
    </div>
  )
}

ConfirmPageContainerWarning.propTypes = {
  warning: PropTypes.string,
}

export default ConfirmPageContainerWarning