mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
working groups & messages
This commit is contained in:
1 parent
ccbc2d3b87
commit
681ce16912
25 files changed
+476
-162
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import React from "react";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { Fab } from "@material-ui/core";
|
||||
import { amber } from "@material-ui/core/colors";
|
||||
import AddIcon from "@material-ui/icons/Add";
|
||||
import useModals from "../../hooks/useModals";
|
||||
|
||||
const useStyles = makeStyles(() => ({
|
||||
root: {
|
||||
@@ -14,10 +14,13 @@ const useStyles = makeStyles(() => ({
|
||||
|
||||
export function NewMessageGroupButton() {
|
||||
const classes = useStyles();
|
||||
const { setShowNewMessageGroup } = useModals()
|
||||
|
||||
const handleClick = () => setShowNewMessageGroup(true);
|
||||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<Fab color="primary">
|
||||
<Fab color="primary" onClick={handleClick}>
|
||||
<AddIcon />
|
||||
</Fab>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user