mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-22 16:09:14 +08:00
13 lines
340 B
TypeScript
13 lines
340 B
TypeScript
|
import { ComponentRegistry } from 'mailspring-exports';
|
||
|
import ThreadUnsubscribeButton from './thread-unsubscribe-button';
|
||
|
|
||
|
export function activate() {
|
||
|
ComponentRegistry.register(ThreadUnsubscribeButton, {
|
||
|
role: 'message:BodyHeader',
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export function deactivate() {
|
||
|
ComponentRegistry.unregister(ThreadUnsubscribeButton);
|
||
|
}
|