feat: add ticket workflow pages
This commit is contained in:
13
frontend/src/components/app/AppEmptyState.tsx
Normal file
13
frontend/src/components/app/AppEmptyState.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
15
frontend/src/components/app/AppField.tsx
Normal file
15
frontend/src/components/app/AppField.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user