diff --git a/browser/main/Detail/TrashButton.js b/browser/main/Detail/TrashButton.js new file mode 100644 index 00000000..fb89465c --- /dev/null +++ b/browser/main/Detail/TrashButton.js @@ -0,0 +1,27 @@ +import React, { PropTypes } from 'react' +import CSSModules from 'browser/lib/CSSModules' +import styles from './TrashButton.styl' + +const TrashButton = ({ + onClick +}) => ( + +) + +TrashButton.propTypes = { + onClick: PropTypes.func.isRequired +} + +export default CSSModules(TrashButton, styles) diff --git a/browser/main/Detail/TrashButton.styl b/browser/main/Detail/TrashButton.styl new file mode 100644 index 00000000..a26095c4 --- /dev/null +++ b/browser/main/Detail/TrashButton.styl @@ -0,0 +1,7 @@ +.control-trashButton + float right + topBarButtonLight() + +body[data-theme="dark"] + .control-trashButton + topBarButtonDark()