Skip to content

Latest commit

 

History

History
93 lines (81 loc) · 1.9 KB

AppBar.mdx

File metadata and controls

93 lines (81 loc) · 1.9 KB
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'

AppBar

Usage

Default

{() => { 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()} ) }}

API

Import

import { AppBar } from 'react95'

Props