From fa4337bda3579938bd3e24a1ce1261fba1f71519 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 3 Jan 2023 16:31:37 +0800 Subject: [PATCH] Web-components: Restore missing script stories --- .../template/stories/script.stories.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 code/renderers/web-components/template/stories/script.stories.js diff --git a/code/renderers/web-components/template/stories/script.stories.js b/code/renderers/web-components/template/stories/script.stories.js new file mode 100644 index 000000000000..d19bf48bc2f0 --- /dev/null +++ b/code/renderers/web-components/template/stories/script.stories.js @@ -0,0 +1,17 @@ +import { html } from 'lit'; + +export default { + component: undefined, +}; + +export const InTemplate = () => html` +
JS alert
+ +`; + +export const InString = () => '
JS alert
'; + +export const TypeModule = () => + '
JS alert from module
';