web-apps/apps/documenteditor/mobile/src/store/palette.js

16 lines
338 B
JavaScript

import {action, observable, makeObservable} from 'mobx';
export class storePalette {
constructor() {
makeObservable(this, {
customColors: observable,
changeCustomColors: action
});
}
customColors = [];
changeCustomColors (colors) {
this.customColors = colors;
}
}