blob: 5d8fff3aec0b0c4e93678d842e23d85e47a3c181 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
"use client"
import { type Table } from "@tanstack/react-table"
import { Plus } from "lucide-react"
import { Button } from "@/components/ui/button"
import type { PageInformation } from "@/db/schema/information"
interface InformationTableToolbarActionsProps {
table: Table<PageInformation>
onAdd: () => void
}
export function InformationTableToolbarActions({
onAdd,
}: InformationTableToolbarActionsProps) {
return (
<div className="flex items-center gap-2">
<Button size="sm" onClick={onAdd}>
<Plus className="mr-2 size-4" aria-hidden="true" />
인포메이션 추가
</Button>
</div>
)
}
|