mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
96846d4052
Summary: - Adds initial version of download all button - Converts attachments plugin to ES6 and adds updated styling - Updates quoted text button - #905, #1712 Test Plan: - Unit + manual Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2769
14 lines
504 B
JavaScript
14 lines
504 B
JavaScript
import {ComponentRegistry} from 'nylas-exports'
|
|
import AttachmentComponent from "./attachment-component"
|
|
import ImageAttachmentComponent from "./image-attachment-component"
|
|
|
|
|
|
export function activate() {
|
|
ComponentRegistry.register(AttachmentComponent, {role: 'Attachment'})
|
|
ComponentRegistry.register(ImageAttachmentComponent, {role: 'Attachment:Image'})
|
|
}
|
|
|
|
export function deactivate() {
|
|
ComponentRegistry.unregister(AttachmentComponent)
|
|
ComponentRegistry.unregister(ImageAttachmentComponent)
|
|
}
|