Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Image from "./Image";
- (function() {
- const components = {
- Image
- };
- Object.values(components).forEach(component => {
- let newComponent = new component();
- newComponent.render();
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement