mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 06:34:34 +08:00
Summary: Adds the draft list using a refactored list-tabular class. Also fixes several draft bugs that appeared after allowing editing. Test Plan: Run tests (need to test new ListTabular component ASAP) Reviewers: evan Reviewed By: evan Differential Revision: https://review.inboxapp.com/D1272
19 lines
472 B
CoffeeScript
19 lines
472 B
CoffeeScript
path = require 'path'
|
|
require 'coffee-react/register'
|
|
React = require 'react'
|
|
{ComponentRegistry} = require 'inbox-exports'
|
|
SearchBar = require './search-bar'
|
|
SearchSettingsBar = require './search-settings-bar'
|
|
|
|
module.exports =
|
|
configDefaults:
|
|
showOnRightSide: false
|
|
|
|
activate: (@state) ->
|
|
ComponentRegistry.register
|
|
view: SearchBar
|
|
name: 'SearchBar'
|
|
role: 'Root:Right:Toolbar'
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister 'SearchBar'
|