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 (
{description}{title}