import { PencilIcon } from "@heroicons/react/solid"; import { useState } from "react"; const EditableHeading = ({ title, onChange }: { title: string; onChange: (value: string) => void }) => { const [editIcon, setEditIcon] = useState(true); return (