|
|
@@ -3,8 +3,8 @@ import { useCallback } from 'react';
|
|
|
import { useDrawioModalForEditor } from '../../../stores/use-drawio';
|
|
|
|
|
|
type Props = {
|
|
|
- editorKey: string,
|
|
|
-}
|
|
|
+ editorKey: string;
|
|
|
+};
|
|
|
|
|
|
export const DiagramButton = (props: Props): JSX.Element => {
|
|
|
const { editorKey } = props;
|
|
|
@@ -14,6 +14,7 @@ export const DiagramButton = (props: Props): JSX.Element => {
|
|
|
}, [editorKey, openDrawioModal]);
|
|
|
return (
|
|
|
<button type="button" className="btn btn-toolbar-button" onClick={onClickDiagramButton}>
|
|
|
+ {/* TODO: https://github.com/weseek/growi/pull/8558 */}
|
|
|
{/* <span className="growi-custom-icons">drawer_io</span> */}
|
|
|
<span className="material-symbols-outlined fs-5">block</span>
|
|
|
</button>
|