aboutsummaryrefslogtreecommitdiff
path: root/packages/web-util/src/stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web-util/src/stories.tsx')
-rw-r--r--packages/web-util/src/stories.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/web-util/src/stories.tsx b/packages/web-util/src/stories.tsx
index 3f90be13a..4edbf83b5 100644
--- a/packages/web-util/src/stories.tsx
+++ b/packages/web-util/src/stories.tsx
@@ -19,7 +19,6 @@
* @author Sebastian Javier Marchano (sebasjm)
*/
import { setupI18n } from "@gnu-taler/taler-util";
-import e from "express";
import {
ComponentChild,
ComponentChildren,
@@ -32,6 +31,7 @@ import {
VNode,
} from "preact";
import { useEffect, useErrorBoundary, useState } from "preact/hooks";
+import { ExampleItemSetup } from "./tests/hook.js";
const Page: FunctionalComponent = ({ children }): VNode => {
return (
@@ -373,12 +373,6 @@ export interface ComponentItem<Props extends object = {}> {
examples: ExampleItem<Props>[];
}
-export type ExampleItemSetup<Props extends object = {}> = {
- component: FunctionalComponent<Props>;
- props: Props;
- contextProps: object;
-};
-
export interface ExampleItem<Props extends object = {}> {
group: string;
component: string;