From 8b945a786b70a6c4f3c837920ad786e330a6c328 Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Wed, 10 Mar 2021 18:21:31 +0100 Subject: [PATCH] look ma, no slots! --- .../{DynamicWidgets.vue => DynamicWidgets.js} | 70 ++++++++++++------- src/widgets.js | 2 +- stories/DynamicWidgets.stories.js | 6 +- 3 files changed, 50 insertions(+), 28 deletions(-) rename src/components/{DynamicWidgets.vue => DynamicWidgets.js} (76%) diff --git a/src/components/DynamicWidgets.vue b/src/components/DynamicWidgets.js similarity index 76% rename from src/components/DynamicWidgets.vue rename to src/components/DynamicWidgets.js index 635cf7d3..2b6309c1 100644 --- a/src/components/DynamicWidgets.vue +++ b/src/components/DynamicWidgets.js @@ -1,20 +1,5 @@ - - - diff --git a/src/widgets.js b/src/widgets.js index b1dc1a31..4ea249cf 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -43,4 +43,4 @@ export { } from './components/ToggleRefinement.vue'; export { default as AisVoiceSearch } from './components/VoiceSearch.vue'; export { default as AisRelevantSort } from './components/RelevantSort.vue'; -export { default as AisDynamicWidgets } from './components/DynamicWidgets.vue'; +export { default as AisDynamicWidgets } from './components/DynamicWidgets'; diff --git a/stories/DynamicWidgets.stories.js b/stories/DynamicWidgets.stories.js index 9db9b7e1..02f96f52 100644 --- a/stories/DynamicWidgets.stories.js +++ b/stories/DynamicWidgets.stories.js @@ -6,9 +6,9 @@ storiesOf('ais-dynamic-widgets', module) .add('simple usage', () => ({ template: ` - - - + + +