diff --git a/docs/data/joy/main-features/color-inversion/ColorInversionHeader.js b/docs/data/joy/main-features/color-inversion/ColorInversionHeader.js index edc60a69a57f3f..34c594474312b5 100644 --- a/docs/data/joy/main-features/color-inversion/ColorInversionHeader.js +++ b/docs/data/joy/main-features/color-inversion/ColorInversionHeader.js @@ -3,11 +3,13 @@ import * as React from 'react'; import Badge from '@mui/joy/Badge'; import Box from '@mui/joy/Box'; import Button from '@mui/joy/Button'; +import Dropdown from '@mui/joy/Dropdown'; import Input from '@mui/joy/Input'; import IconButton from '@mui/joy/IconButton'; import ListDivider from '@mui/joy/ListDivider'; import ListItemDecorator from '@mui/joy/ListItemDecorator'; import Menu from '@mui/joy/Menu'; +import MenuButton from '@mui/joy/MenuButton'; import MenuItem from '@mui/joy/MenuItem'; import Typography from '@mui/joy/Typography'; import Sheet from '@mui/joy/Sheet'; @@ -19,7 +21,6 @@ import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'; import ColorLensRoundedIcon from '@mui/icons-material/ColorLensRounded'; export default function ColorInversionHeader() { - const [anchorEl, setAnchorEl] = React.useState(null); const [color, setColor] = React.useState('primary'); return ( - { - setAnchorEl(event.currentTarget); - }} - endDecorator={} - > - Main - - setAnchorEl(null)} - placement="bottom-start" - disablePortal - size="sm" - sx={{ - '--ListItemDecorator-size': '24px', - '--ListItem-minHeight': '40px', - '--ListDivider-gap': '4px', - minWidth: 200, - }} - > - setAnchorEl(null)}> - - - - Products - - - setAnchorEl(null)}>Pricing - setAnchorEl(null)}> - Case studies{' '} - - `rgba(${theme.vars.palette.primary.mainChannel} / 0.1)`, - }} - > - Beta - - - + + } + > + Main + + + + + + + Products + + + Pricing + + Case studies{' '} + + `rgba(${theme.vars.palette.primary.mainChannel} / 0.1)`, + }} + > + Beta + + + +