import { Select, Tag } from "antd"; import Avatar from "antd/lib/avatar/avatar"; import { useEffect, useRef } from "react"; import { FaPaperPlane, FaRegTimesCircle } from "react-icons/fa"; const options = [ { value: "gold" }, { value: "lime" }, { value: "green" }, { value: "cyan" }, ]; export default function CreateConversation() { const input = useRef(); useEffect(() => { input.current?.focus(); }, []); // as people are selected, add a list of users // if it's an email of a non-nirvana user, then hit invite button to email them with a voice clip along with it // if it's an existing user, then show a nice chip of that user's profile picture and their name return (
{/* if it's a one on one, and i already have a conversation with them, then block creating a new one? */}
); } function tagRender(props) { const { label, value, closable, onClose } = props; const onPreventMouseDown = (event) => { event.preventDefault(); event.stopPropagation(); }; return ( {label} ); }