diff --git a/client/components/document/index.tsx b/client/components/document/index.tsx index 8f2f1423..c3e30170 100644 --- a/client/components/document/index.tsx +++ b/client/components/document/index.tsx @@ -1,8 +1,9 @@ -import { Button, Card, Input, Tabs, Textarea } from "@geist-ui/core" +import { Button, ButtonGroup, Card, Input, Tabs, Textarea } from "@geist-ui/core" import { ChangeEvent, FormEvent, memo, useEffect, useRef, useState } from "react" import styles from './document.module.css' import MarkdownPreview from '../preview' import { Trash } from '@geist-ui/icons' +import FormattingIcons from "../formatting-icons" type Props = { editable: boolean remove?: () => void @@ -46,12 +47,13 @@ const Document = ({ remove, editable, title, content, setTitle, setContent, init {remove && editable &&