forked from M-Labs/web2019
17 lines
514 B
JavaScript
17 lines
514 B
JavaScript
'use strict'
|
|
|
|
import {LineWrapper} from "./Line";
|
|
import {RadioWrapper} from "./Radio";
|
|
import {SwitchWrapper} from "./Switch";
|
|
import {SwitchLineWrapper} from "./SwitchLine";
|
|
import {UnimplementedComponent} from "./UnimplementedComponent";
|
|
|
|
|
|
// Class components are used because we cannot use hooks for updating the state
|
|
export const componentsList = {
|
|
"Radio": RadioWrapper,
|
|
"Switch": SwitchWrapper,
|
|
"Line": LineWrapper,
|
|
"SwitchLine": SwitchLineWrapper,
|
|
"Default": UnimplementedComponent,
|
|
}; |