web-apps/apps/documenteditor/mobile/src/store/linkSettings.js
2021-07-12 16:39:41 +03:00

17 lines
337 B
JavaScript

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