import { Button } from '@heroui/button' import { Input } from '@heroui/input' import { Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from '@heroui/modal' interface RenameModalProps { isOpen: boolean newFileName: string onNameChange: (e: React.ChangeEvent) => void onClose: () => void onRename: () => void } export default function RenameModal({ isOpen, newFileName, onNameChange, onClose, onRename }: RenameModalProps) { return ( 重命名 ) }