[ { "fileName": "Disabled.tsx", "language": "tsx", "code": "import { AppShell, Burger, Button, Group, Text } from '@mantine/core';\nimport { useDisclosure } from '@mantine/hooks';\n\nexport function Disabled() {\n const [opened, { toggle }] = useDisclosure();\n const [disabled, { toggle: toggleDisabled }] = useDisclosure();\n\n return (\n \n \n \n \n Header is hidden when disabled\n \n \n Navbar is hidden when disabled\n \n This is the main section, your app content here.\n \n When you set disabled prop on AppShell, all elements except AppShell.Main are hidden. Try\n it out:\n \n \n \n \n );\n}\n" } ]