mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +01:00
24 lines
571 B
JavaScript
24 lines
571 B
JavaScript
|
import PropTypes from 'prop-types'
|
||
|
import React, { Component } from 'react'
|
||
|
import MetaFoxLogo from '../../../components/ui/metafox-logo'
|
||
|
|
||
|
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
|
||
|
/>
|
||
|
<div className="permissions-connect-header__page-count">
|
||
|
{ `${page}/2` }
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
}
|