@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
1 lines • 745 B
Source Map (JSON)
{"version":3,"file":"AppShell.context.cjs","names":["createSafeContext"],"sources":["../../../src/components/AppShell/AppShell.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi } from '../../core';\nimport type { AppShellFactory } from './AppShell';\n\nexport interface AppShellContextValue {\n getStyles: GetStylesApi<AppShellFactory>;\n withBorder: boolean | undefined;\n zIndex: string | number | undefined;\n disabled: boolean | undefined;\n offsetScrollbars: boolean | undefined;\n mode: 'fixed' | 'static';\n}\n\nexport const [AppShellProvider, useAppShellContext] = createSafeContext<AppShellContextValue>(\n 'AppShell was not found in tree'\n);\n"],"mappings":";;AAYA,MAAa,CAAC,kBAAkB,8FAAsBA,kBACpD,iCACD"}