feat: initial overview preset report

This commit is contained in:
TzeYiing authored and Ziinc committed 2022-08-25 02:56:15 +08:00
1 parent 8ac9294368
commit f115a6e53a
12 files changed
+868 -156

No files matched your search

@@ -19,10 +19,12 @@ const ProductMenu: FC<Props> = ({ page, menu }) => {
<Menu.Group
//@ts-ignore
title={
<div className="flex flex-col space-y-2">
<span>{group.title}</span>
{group.isPreview && <Badge color="amber">Not production ready</Badge>}
</div>
group.title ? (
<div className="flex flex-col space-y-2">
<span>{group.title}</span>
{group.isPreview && <Badge color="amber">Not production ready</Badge>}
</div>
) : null
}
/>
<div>
@@ -1,7 +1,7 @@
import { ReactNode } from 'react'
export interface ProductMenuGroup {
title: string
title?: string
isPreview?: boolean
items: ProductMenuGroupItem[]
}