feat: finish ticket create visual experience

This commit is contained in:
hailin
2026-07-01 15:34:41 +08:00
parent 3aff628f52
commit 0ea4a3c853
4 changed files with 159 additions and 86 deletions

View File

@@ -19,6 +19,7 @@ type AppDataTableProps<Row> = {
emptyDescription?: string
toolbar?: React.ReactNode
footer?: React.ReactNode
tableClassName?: string
onRowClick?: (row: Row) => void
}
@@ -30,6 +31,7 @@ export function AppDataTable<Row>({
emptyDescription,
toolbar,
footer,
tableClassName,
onRowClick
}: AppDataTableProps<Row>) {
return (
@@ -41,7 +43,7 @@ export function AppDataTable<Row>({
</div>
) : (
<div className="overflow-x-auto">
<Table>
<Table className={tableClassName}>
<TableHeader>
<TableRow>
{columns.map((column) => (