Add calendar tile

This commit is contained in:
Meierschlumpf
2022-12-11 14:11:25 +01:00
parent 65970d3a2f
commit c2571190f6
13 changed files with 391 additions and 416 deletions

View File

@@ -0,0 +1,9 @@
import { ConfigType } from '../../types/config';
import { configExists } from './configExists';
import { getFallbackConfig } from './getFallbackConfig';
import { readConfig } from './readConfig';
export const getConfig = (name: string): ConfigType => {
if (!configExists(name)) return getFallbackConfig();
return readConfig(name);
};