diff --git a/net/web/src/session/conversation/addTopic/AddTopic.jsx b/net/web/src/session/conversation/addTopic/AddTopic.jsx index 930d2746..69f39f71 100644 --- a/net/web/src/session/conversation/addTopic/AddTopic.jsx +++ b/net/web/src/session/conversation/addTopic/AddTopic.jsx @@ -1,21 +1,53 @@ import { AddTopicWrapper } from './AddTopic.styled'; import { useAddTopic } from './useAddTopic.hook'; -import { Input } from 'antd'; +import { Input, Menu, Dropdown } from 'antd'; import { useRef, useState } from 'react'; import { FontColorsOutlined, FontSizeOutlined, PaperClipOutlined, SendOutlined } from '@ant-design/icons'; +import { SketchPicker } from "react-color"; export function AddTopic() { - const [hint, setHint] = useState("send"); - const msg = useRef(); + const { state, actions } = useAddTopic(); + const msg = useRef(); const keyDown = (e) => { if (e.key === 'Enter' && !e.shiftKey) { msg.current.blur(); - console.log("SEND"); } } + const picker = ( +
+ ); + + const sizer = ( + + ); + + const attacher = ( + + ); + return (