demarches-normaliennes/app/javascript/shared/react-components.js
2019-04-03 14:38:57 +02:00

8 lines
222 B
JavaScript

export default function reactComponents(className) {
switch (className) {
case 'TypesDeChampEditor':
return import('components/TypesDeChampEditor').then(
mod => mod.createReactUJSElement
);
}
}