From deade1f9f8c84dfb7a2bb0406233aa0cf81e210a Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Tue, 14 Nov 2017 20:26:36 +0900 Subject: [PATCH] Add trash button in trash --- browser/main/Detail/PermanentDeleteButton.js | 19 +++++++++++++++++++ browser/main/Detail/TrashButton.styl | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 browser/main/Detail/PermanentDeleteButton.js diff --git a/browser/main/Detail/PermanentDeleteButton.js b/browser/main/Detail/PermanentDeleteButton.js new file mode 100644 index 00000000..cbcf9ad8 --- /dev/null +++ b/browser/main/Detail/PermanentDeleteButton.js @@ -0,0 +1,19 @@ +import React, { PropTypes } from 'react' +import CSSModules from 'browser/lib/CSSModules' +import styles from './TrashButton.styl' + +const PermanentDeleteButton = ({ + onClick +}) => ( + +) + +PermanentDeleteButton.propTypes = { + onClick: PropTypes.func.isRequired +} + +export default CSSModules(PermanentDeleteButton, styles) diff --git a/browser/main/Detail/TrashButton.styl b/browser/main/Detail/TrashButton.styl index 2c5736df..91bc24c7 100644 --- a/browser/main/Detail/TrashButton.styl +++ b/browser/main/Detail/TrashButton.styl @@ -2,6 +2,10 @@ top 120px topBarButtonLight() +.control-trashButton--in-trash + top 60px + topBarButtonLight() + .trashButton padding 0px margin 15px 0