Removed old ProfileNavigationBar
• Removed: - old ProfileNavigationBar
This commit is contained in:
parent
5c3339d0a8
commit
28596399fa
@ -1,45 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import PropTypes from 'prop-types'
|
|
||||||
import BackButton from './back_button'
|
|
||||||
import Heading from './heading'
|
|
||||||
|
|
||||||
class ProfileNavigationBar extends React.PureComponent {
|
|
||||||
|
|
||||||
render() {
|
|
||||||
const { titleHTML } = this.props
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className={[_s.d, _s.z4, _s.minH53PX, _s.w100PC].join(' ')}>
|
|
||||||
<div className={[_s.d, _s.minH53PX, _s.bgNavigation, _s.aiCenter, _s.z3, _s.top0, _s.right0, _s.left0, _s.posFixed].join(' ')} >
|
|
||||||
|
|
||||||
<div className={[_s.d, _s.flexRow, _s.saveAreaInsetPT, _s.saveAreaInsetPL, _s.saveAreaInsetPR, _s.w100PC].join(' ')}>
|
|
||||||
|
|
||||||
<BackButton
|
|
||||||
className={[_s.minH53PX, _s.pl10, _s.pr10].join(' ')}
|
|
||||||
iconSize='18px'
|
|
||||||
iconClassName={[_s.mr5, _s.fillNavigation].join(' ')}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div className={[_s.d, _s.minH53PX, _s.jcCenter, _s.mrAuto].join(' ')}>
|
|
||||||
<Heading size='h1'>
|
|
||||||
<span className={[_s.textOverflowEllipsis, _s.colorNavigation].join(' ')}>
|
|
||||||
<div dangerouslySetInnerHTML={{ __html: titleHTML }} />
|
|
||||||
</span>
|
|
||||||
</Heading>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ProfileNavigationBar.propTypes = {
|
|
||||||
titleHTML: PropTypes.string,
|
|
||||||
showBackBtn: PropTypes.bool,
|
|
||||||
}
|
|
||||||
|
|
||||||
export default ProfileNavigationBar
|
|
Loading…
x
Reference in New Issue
Block a user