We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adeb7d9 commit c4ca7d6Copy full SHA for c4ca7d6
packages/tel-frontend/src/tel/components/index.js
@@ -0,0 +1,10 @@
1
+import { createAll } from 'nhsuk-frontend';
2
+import HelloWorld from './hello-world/hello-world.js';
3
+// import other components here
4
+// import AnotherComponent from './another-component/another-component.js';
5
+
6
+const components = [HelloWorld /*, AnotherComponent */];
7
8
+components.forEach(Component => createAll(Component));
9
10
+export { HelloWorld /*, AnotherComponent */ };
0 commit comments