import { Button, Modal, ModalTrigger, ActionForm } from 'react-basics'; import WebsiteDeleteForm from './WebsiteDeleteForm'; import WebsiteResetForm from './WebsiteResetForm'; import { useMessages } from 'components/hooks'; export function WebsiteData({ websiteId, onSave, }: { websiteId: string; onSave?: (value: string) => void; }) { const { formatMessage, labels, messages } = useMessages(); const handleReset = async () => { onSave('reset'); }; const handleDelete = async () => { onSave('delete'); }; return ( <> {(close: () => void) => ( )} {(close: () => void) => ( )} ); } export default WebsiteData;