name | menu |
---|---|
AppBar |
Components |
import { Playground, Props } from 'docz';
import AppBar from './AppBar' import Toolbar from '../Toolbar/Toolbar' import Button from '../Button/Button' import TextField from '../TextField/TextField' import List from '../List/List' import ListItem from '../ListItem/ListItem' import Divider from '../Divider/Divider'
{() => { const [open, setOpen] = React.useState(false); function handleClick() { setOpen(!open); } function handleClose() { setOpen(false); } const renderMenu = () => { return (
{open && (
👨💻
Profile
📁
My account
🔙
Logout
)}
Start
);
}
return (
{renderMenu()}
)
}}
import { AppBar } from 'react95'