aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/page-container/page-container-header.component.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-04-11 06:28:52 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-04-11 06:28:52 +0800
commitf96c13d616e429447ac0a6a24c6aeee902162b88 (patch)
treee0b6873c5d30e09f8bdab951db4282f2d9630254 /ui/app/components/page-container/page-container-header.component.js
parent284dd85a99f538b77fd477f4952117d1792f64a5 (diff)
downloadtangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.tar
tangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.tar.gz
tangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.tar.bz2
tangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.tar.lz
tangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.tar.xz
tangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.tar.zst
tangerine-wallet-browser-f96c13d616e429447ac0a6a24c6aeee902162b88.zip
Refactor page-container component structure
Diffstat (limited to 'ui/app/components/page-container/page-container-header.component.js')
-rw-r--r--ui/app/components/page-container/page-container-header.component.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/ui/app/components/page-container/page-container-header.component.js b/ui/app/components/page-container/page-container-header.component.js
deleted file mode 100644
index 9adc88fb3..000000000
--- a/ui/app/components/page-container/page-container-header.component.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import React, { Component } from 'react'
-import PropTypes from 'prop-types'
-
-export default class PageContainerHeader extends Component {
-
- static propTypes = {
- title: PropTypes.string,
- subtitle: PropTypes.string,
- onClose: PropTypes.func,
- };
-
- render () {
- const { title, subtitle, onClose } = this.props
-
- return (
- <div className="page-container__header">
-
- <div className="page-container__title">
- {title}
- </div>
-
- <div className="page-container__subtitle">
- {subtitle}
- </div>
-
- <div
- className="page-container__header-close"
- onClick={() => onClose()}
- />
-
- </div>
- );
- }
-
-}