Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15834 | Rev 15836 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15834 Rev 15835
Línea 5... Línea 5...
5
import Emojione from "./emojione/Emojione";
5
import Emojione from "./emojione/Emojione";
6
import FileModal from "./fileModal/FileModal";
6
import FileModal from "./fileModal/FileModal";
7
import Messages from "./messages/Messages";
7
import Messages from "./messages/Messages";
8
import AttachFileIcon from "@mui/icons-material/AttachFile";
8
import AttachFileIcon from "@mui/icons-material/AttachFile";
9
import InsertEmoticonIcon from "@mui/icons-material/InsertEmoticon";
9
import InsertEmoticonIcon from "@mui/icons-material/InsertEmoticon";
-
 
10
import SendIcon from "@mui/icons-material/Send";
Línea 10... Línea 11...
10
 
11
 
Línea 11... Línea 12...
11
import styles from "./chat.module.scss";
12
import styles from "./chat.module.scss";
12
 
13
 
Línea 215... Línea 216...
215
          onSubmit={handleSubmit(onHandleSubmit)}
216
          onSubmit={handleSubmit(onHandleSubmit)}
216
          encType="multipart/form-data"
217
          encType="multipart/form-data"
217
        >
218
        >
218
          <button
219
          <button
219
            type="button"
220
            type="button"
220
            className={styles.icon_btn}
221
            className={"btn" + styles.icon_btn}
221
            onClick={() => fileInputEl.current.click()}
222
            onClick={() => fileInputEl.current.click()}
222
          >
223
          >
223
            <AttachFileIcon />
224
            <AttachFileIcon />
224
          </button>
225
          </button>
225
          <button
226
          <button
226
            type="button"
227
            type="button"
227
            className={styles.icon_btn}
228
            className={"btn" + styles.icon_btn}
228
            onClick={() => setShowEmojione(!showEmojione)}
229
            onClick={() => setShowEmojione(!showEmojione)}
229
          >
230
          >
230
            <InsertEmoticonIcon />
231
            <InsertEmoticonIcon />
231
          </button>
232
          </button>
232
          <input
233
          <input
Línea 240... Línea 241...
240
            className={styles.chatInput}
241
            className={styles.chatInput}
241
            placeholder="Escribe un mensaje"
242
            placeholder="Escribe un mensaje"
242
            rows="1"
243
            rows="1"
243
            ref={inputTextEl}
244
            ref={inputTextEl}
244
          />
245
          />
245
          <button type="submit" className={styles.send_btn}>
246
          <button type="submit" className={"btn" + styles.send_btn}>
246
            Enviar
247
            <SendIcon />
247
          </button>
248
          </button>
248
        </form>
249
        </form>
249
      </div>
250
      </div>
250
      {selectedFile && (
251
      {selectedFile && (
251
        <FileModal
252
        <FileModal