@material-ui/icons#NotificationsActive JavaScript Examples

The following examples show how to use @material-ui/icons#NotificationsActive. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NavBar.jsx    From redive_linebot with MIT License 6 votes vote down vote up
BotDrawer = () => {
  const [open, setOpen] = useState(false);
  const classes = useStyles();

  return (
    <>
      <ListItem button onClick={() => setOpen(!open)}>
        <ListItemIcon>
          <AndroidIcon />
        </ListItemIcon>
        <ListItemText primary="機器人功能" />
        {open ? <ExpandLess /> : <ExpandMore />}
      </ListItem>
      <Collapse in={open} timeout="auto" unmountOnExit>
        <List component="div" disablePadding className={classes.nestList}>
          <ListItem button component={Link} to="/Panel/Manual">
            <ListItemIcon>
              <LibraryBooksIcon />
            </ListItemIcon>
            <ListItemText primary="使用手冊" />
          </ListItem>
          <ListItem button component={Link} to="/Bot/Notify">
            <ListItemIcon>
              <NotificationsActive />
            </ListItemIcon>
            <ListItemText primary={"訂閱通知"} />
          </ListItem>
        </List>
      </Collapse>
    </>
  );
}