From 4242b55327af3e0f8d9e9495ee52f98a7c29bbb0 Mon Sep 17 00:00:00 2001 From: axolotle Date: Fri, 5 Jul 2024 20:51:17 +0200 Subject: [PATCH] refactor: DisplayTextItem typing --- .../globals/formItems/DisplayTextItem.vue | 17 ++++++----------- app/src/types/form.ts | 2 ++ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app/src/components/globals/formItems/DisplayTextItem.vue b/app/src/components/globals/formItems/DisplayTextItem.vue index a4c21934..ea3c1424 100644 --- a/app/src/components/globals/formItems/DisplayTextItem.vue +++ b/app/src/components/globals/formItems/DisplayTextItem.vue @@ -1,18 +1,13 @@ diff --git a/app/src/types/form.ts b/app/src/types/form.ts index f36a6db3..75a89159 100644 --- a/app/src/types/form.ts +++ b/app/src/types/form.ts @@ -15,6 +15,8 @@ export type ButtonItemProps = BaseDisplayItemProps & { type?: StateVariant } +export type DisplayTextItemProps = BaseDisplayItemProps + // WRITABLE