import { jsx as _jsx } from "react/jsx-runtime";
/*
 * Copyright (c) 2023-2025 Datalayer, Inc.
 * Distributed under the terms of the Modified BSD License.
 */
import { Button } from '@primer/react';
import { Box } from '@datalayer/primer-addons';
import { RepoPushIcon } from '@primer/octicons-react';
// import { PlayIcon, StopIcon } from '@primer/octicons-react';
// import { notebookStore } from '@datalayer/jupyter-react';
import { useGradeStore } from '../../state/index.js';
export const AssignmentEditorToolbar = (props) => {
    //  const { notebookId } = props;
    //   const notebook = notebookStore.getState().selectNotebook(notebookId);
    const { grade } = useGradeStore();
    return (_jsx(Box, { display: "flex", children: _jsx(Box, { children: _jsx(Button, { variant: "invisible", size: "small", leadingVisual: RepoPushIcon, onClick: () => grade(new Date()), children: "Grade" }) }) }));
};
export default AssignmentEditorToolbar;
