[DE mobile] Added store for link settings

This commit is contained in:
SergeyEzhin 2021-07-12 16:39:41 +03:00
parent 662ee6d9a5
commit 2a0016e776

View file

@ -0,0 +1,16 @@
import {action, observable, makeObservable} from 'mobx';
export class storeLinkSettings {
constructor() {
makeObservable(this, {
canAddLink: observable,
canAddHyperlink: action
});
}
canAddLink;
canAddHyperlink (value) {
this.canAddLink = value;
}
}