1 | import * as chartComponents from '../charts';
|
2 | import * as components from '../index';
|
3 |
|
4 | export const gitlabComponents = { ...components, ...chartComponents };
|
5 | export const gitlabChartComponents = { ...chartComponents };
|
6 |
|
7 | export const componentValidator = (componentName) =>
|
8 | Object.keys(gitlabComponents).includes(componentName);
|