React = require 'react' path = require 'path' {RetinaImg, ConfigPropContainer} = require 'nylas-component-kit' {EdgehillAPI} = require 'nylas-exports' OnboardingActions = require './onboarding-actions' class InstallButton extends React.Component constructor: (@props) -> @state = installed: !NylasEnv.packages.isPackageDisabled(@props.package.name) render: => classname = "btn btn-install" classname += " installed" if @state.installed
_onInstall: => NylasEnv.packages.enablePackage(@props.package.name) @setState(installed: true) class InitialPackagesPage extends React.Component @displayName: "InitialPackagesPage" constructor: (@props) -> @state = packages: NylasEnv.packages.getAvailablePackageMetadata().filter ({isStarterPackage}) => isStarterPackage render: =>

Explore plugins

Plugins lie at the heart of N1 and give it its powerful features.
Want to enable a few example plugins now?

{@state.packages.map (item) =>
{item.title}
{item.description}
}
_onPrevPage: => OnboardingActions.moveToPage('initial-preferences') _onGetStarted: => require('electron').ipcRenderer.send('account-setup-successful') module.exports = InitialPackagesPage