From f8ad8cc0af70e3356dee2febe174cd33f6f04a07 Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Thu, 10 Oct 2024 22:06:57 +0200 Subject: [PATCH] feat(app): refactor VersionStatus component --- apps/app/src/components/Changelog/VersionStatus.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 apps/app/src/components/Changelog/VersionStatus.tsx diff --git a/apps/app/src/components/Changelog/VersionStatus.tsx b/apps/app/src/components/Changelog/VersionStatus.tsx new file mode 100644 index 0000000..c983db3 --- /dev/null +++ b/apps/app/src/components/Changelog/VersionStatus.tsx @@ -0,0 +1,12 @@ +export const VersionStatus = ({ status }: { status: string }) => { + switch (status) { + case 'draft': + return
+ case 'published': + return
+ case 'review': + return
+ default: + return
+ } +}