feat: add ticket workflow pages

This commit is contained in:
hailin
2026-06-30 18:49:41 +08:00
parent c80c286227
commit d40fdad6e9
13 changed files with 467 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
type AppEmptyStateProps = {
title: string
description?: string
}
export function AppEmptyState({ title, description }: AppEmptyStateProps) {
return (
<div className="rounded-lg border border-dashed border-border bg-surface px-4 py-8 text-center">
<p className="text-sm font-medium text-foreground">{title}</p>
{description ? <p className="mt-1 text-sm text-muted-foreground">{description}</p> : null}
</div>
)
}

View File

@@ -0,0 +1,15 @@
import type * as React from 'react'
type AppFieldProps = {
label: string
children: React.ReactNode
}
export function AppField({ label, children }: AppFieldProps) {
return (
<label className="grid gap-1.5">
<span className="text-xs font-medium text-muted-foreground">{label}</span>
{children}
</label>
)
}