import { Text } from "preact-i18n"; import Modal from "../../../components/ui/Modal"; interface Props { onClose: () => void; confirm: () => void; } export function SessionsModal({ onClose, confirm }: Props) { return ( } actions={[ { onClick: () => { onClose(); }, confirmation: true, palette: "accent", children: , }, { onClick: () => { confirm(); onClose(); }, confirmation: true, children: , }, ]}>
); }