React = require 'react' {RetinaImg} = require 'nylas-component-kit' class Page extends React.Component @displayName: "Page" constructor: (@props) -> _renderClose: (action="close") -> if action is "close" onClick = -> atom.close() else if action is "quit" onClick = -> require('ipc').send('command', 'application:quit') else onClick = ->