Mailspring/app/internal_packages/attachments/lib/main.es6

11 lines
312 B
Text
Raw Normal View History

import { ComponentRegistry } from 'mailspring-exports';
2017-09-27 02:33:08 +08:00
import MessageAttachments from './message-attachments';
export function activate() {
2017-09-27 02:33:08 +08:00
ComponentRegistry.register(MessageAttachments, { role: 'MessageAttachments' });
}
export function deactivate() {
ComponentRegistry.unregister(MessageAttachments);
}