mermaid/src/config.js

17 lines
295 B
JavaScript
Raw Normal View History

import { assignWithDepth } from './utils';
2020-06-17 05:54:24 -04:00
const config = {};
2019-07-13 22:50:53 -07:00
export const setConfig = conf => {
assignWithDepth(config, conf);
2019-09-12 12:58:57 -07:00
};
export const getConfig = () => config;
const configApi = {
setConfig,
getConfig
// get conf() {
// return config;
// }
};
export default configApi;