From 6d06b52605005f4d25381fc73383c3c9e48f20f8 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 11 Jun 2022 19:10:26 -0300 Subject: add testing to web components --- .../anastasis-webui/src/components/InvalidState.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/anastasis-webui/src/components/InvalidState.tsx (limited to 'packages/anastasis-webui/src/components/InvalidState.tsx') diff --git a/packages/anastasis-webui/src/components/InvalidState.tsx b/packages/anastasis-webui/src/components/InvalidState.tsx new file mode 100644 index 000000000..8e2edde5e --- /dev/null +++ b/packages/anastasis-webui/src/components/InvalidState.tsx @@ -0,0 +1,21 @@ +/* + This file is part of GNU Anastasis + (C) 2021-2022 Anastasis SARL + + GNU Anastasis is free software; you can redistribute it and/or modify it under the + terms of the GNU Affero General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + GNU Anastasis is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License along with + GNU Anastasis; see the file COPYING. If not, see + */ + +import { h, VNode } from "preact"; + +export default function InvalidState(): VNode { + return
invalid state
; +} -- cgit v1.2.3