mirror of
https://github.com/bakhirev/assayo.git
synced 2025-02-23 13:32:19 +00:00
30 lines
535 B
TypeScript
30 lines
535 B
TypeScript
import { makeObservable, observable, action } from 'mobx';
|
|
|
|
class ThemeSettings {
|
|
urlParameters: any = {};
|
|
|
|
constructor() {
|
|
makeObservable(this, {
|
|
urlParameters: observable,
|
|
setUrlParameters: action,
|
|
});
|
|
}
|
|
|
|
setUrlParameters(urlParameters: any) {
|
|
this.urlParameters = urlParameters || {};
|
|
}
|
|
|
|
getLogo() {
|
|
return {
|
|
icon: './assets/logo.svg',
|
|
link: '',
|
|
title: '',
|
|
isOpenInNewTab: false,
|
|
};
|
|
}
|
|
}
|
|
|
|
const themeSettings = new ThemeSettings();
|
|
|
|
export default themeSettings;
|