A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ciphermask/ui/app/pages/permissions-connect/permissions-connect-header/permissions-connect-header....

25 lines
691 B

import PropTypes from 'prop-types'
import React, { Component } from 'react'
import MetaFoxLogo from '../../../components/ui/metafox-logo'
import { DEFAULT_ROUTE } from '../../../helpers/constants/routes'
export default class PermissionsConnectHeader extends Component {
static propTypes = {
page: PropTypes.number.isRequired,
}
render () {
const { page } = this.props
return (
<div className="permissions-connect-header">
<MetaFoxLogo
unsetIconHeight
onClick={() => history.push(DEFAULT_ROUTE)}
/>
<div className="permissions-connect-header__page-count">
{ `${page}/2` }
</div>
</div>
)
}
}