import { Pencil, Plus, Trash2 } from "lucide-react"; import type { ReactNode } from "react"; import Button from "~/components/button"; import TableList from "~/components/table-list"; // Chrome shared by the rules and the tags/groups editors. interface SectionProps { title: string; description: ReactNode; isDisabled: boolean; onAdd: () => void; children: ReactNode; } export function Section({ title, description, isDisabled, onAdd, children }: SectionProps) { return (

{title}

{description}

{children}
); } export function Empty({ text }: { text: string }) { return {text}; } interface RowActionsProps { isDisabled: boolean; onEdit: () => void; onDelete: () => void; } export function RowActions({ isDisabled, onEdit, onDelete }: RowActionsProps) { return (
); }